|
@@ -1,17 +1,4 @@
|
|
|
---
|
|
|
-- name: Create the OpenStack resources for cluster installation
|
|
|
- any_errors_fatal: true
|
|
|
- hosts: localhost
|
|
|
- tasks:
|
|
|
- - name: retrieve cluster name from the environment if present
|
|
|
- set_fact:
|
|
|
- openshift_openstack_stack_name: "{{ lookup('env', 'OPENSHIFT_CLUSTER') | ternary (lookup('env', 'OPENSHIFT_CLUSTER'), omit) }}"
|
|
|
- - name: provision cluster
|
|
|
- import_role:
|
|
|
- name: openshift_openstack
|
|
|
- tasks_from: provision.yml
|
|
|
-
|
|
|
-
|
|
|
# NOTE(shadower): Bring in the host groups:
|
|
|
- name: evaluate groups
|
|
|
import_playbook: ../../init/evaluate_groups.yml
|