substitute only some vars during deployment on copr
This commit is contained in:
parent
e6e759d969
commit
be7168c794
2 changed files with 4 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
#jinja2:variable_start_string:'[%' , variable_end_string:'%]'
|
||||||
---
|
---
|
||||||
- name: check/create instance
|
- name: check/create instance
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
|
@ -9,7 +10,7 @@
|
||||||
- OS_AUTH_URL: http://172.23.0.2:5000/v2.0
|
- OS_AUTH_URL: http://172.23.0.2:5000/v2.0
|
||||||
- OS_TENANT_NAME: copr
|
- OS_TENANT_NAME: copr
|
||||||
- OS_USERNAME: msuchy
|
- OS_USERNAME: msuchy
|
||||||
- OS_PASSWORD: {{ copr_nova_password }}
|
- OS_PASSWORD: [% copr_nova_password %]
|
||||||
# rhel 6.4 2013-02-21 x86_64 - ami
|
# rhel 6.4 2013-02-21 x86_64 - ami
|
||||||
- image_id: cba0c766-84ac-4048-b0f5-6d4000af62f8
|
- image_id: cba0c766-84ac-4048-b0f5-6d4000af62f8
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#jinja2:variable_start_string:'[%' , variable_end_string:'%]'
|
||||||
---
|
---
|
||||||
- name: terminate instance
|
- name: terminate instance
|
||||||
hosts: all
|
hosts: all
|
||||||
|
@ -8,7 +9,7 @@
|
||||||
- OS_AUTH_URL: http://172.23.0.2:5000/v2.0
|
- OS_AUTH_URL: http://172.23.0.2:5000/v2.0
|
||||||
- OS_TENANT_NAME: copr
|
- OS_TENANT_NAME: copr
|
||||||
- OS_USERNAME: msuchy
|
- OS_USERNAME: msuchy
|
||||||
- OS_PASSWORD: {{ copr_nova_password }}
|
- OS_PASSWORD: [% copr_nova_password %]
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: terminate it
|
- name: terminate it
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue