summaryrefslogtreecommitdiffstats
path: root/roles/openshift_openstack/tasks/provision.yml
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-11-02 11:03:39 +0100
committerTomas Sedovic <tomas@sedovic.cz>2017-11-07 14:35:47 +1100
commitb95170503613bb97c00175324b31ed91f6f41ea1 (patch)
tree6021e692645f1233379909b3cb3f7b5795685f47 /roles/openshift_openstack/tasks/provision.yml
parentad84935b5021da5ab0d21ffdf630079c1a59083d (diff)
downloadopenshift-b95170503613bb97c00175324b31ed91f6f41ea1.tar.gz
openshift-b95170503613bb97c00175324b31ed91f6f41ea1.tar.bz2
openshift-b95170503613bb97c00175324b31ed91f6f41ea1.tar.xz
openshift-b95170503613bb97c00175324b31ed91f6f41ea1.zip
Namespace the OpenStack vars
This makes sure that all the variables used in the `openshift_openstack` role are prefixed with `openshift_openstack_` as is the convention.
Diffstat (limited to 'roles/openshift_openstack/tasks/provision.yml')
-rw-r--r--roles/openshift_openstack/tasks/provision.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/openshift_openstack/tasks/provision.yml b/roles/openshift_openstack/tasks/provision.yml
index e693f535a..dccbe334c 100644
--- a/roles/openshift_openstack/tasks/provision.yml
+++ b/roles/openshift_openstack/tasks/provision.yml
@@ -2,14 +2,14 @@
- name: Generate the templates
include: generate-templates.yml
when:
- - stack_state == 'present'
+ - openshift_openstack_stack_state == 'present'
- name: Handle the Stack (create/delete)
ignore_errors: False
register: stack_create
os_stack:
- name: "{{ stack_name }}"
- state: "{{ stack_state }}"
+ name: "{{ openshift_openstack_stack_name }}"
+ state: "{{ openshift_openstack_stack_state }}"
template: "{{ stack_template_path | default(omit) }}"
wait: yes
@@ -19,7 +19,7 @@
- name: CleanUp
include: cleanup.yml
when:
- - stack_state == 'present'
+ - openshift_openstack_stack_state == 'present'
# TODO(shadower): create the registry and PV Cinder volumes if specified
# and include the `prepare-and-format-cinder-volume` tasks to set it up