substitute only some vars during deployment on copr

This commit is contained in:
Miroslav Suchý 2014-06-23 15:22:42 +00:00
parent e6e759d969
commit be7168c794
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,4 @@
#jinja2:variable_start_string:'[%' , variable_end_string:'%]'
---
- name: check/create instance
hosts: localhost
@ -9,7 +10,7 @@
- OS_AUTH_URL: http://172.23.0.2:5000/v2.0
- OS_TENANT_NAME: copr
- OS_USERNAME: msuchy
- OS_PASSWORD: {{ copr_nova_password }}
- OS_PASSWORD: [% copr_nova_password %]
# rhel 6.4 2013-02-21 x86_64 - ami
- image_id: cba0c766-84ac-4048-b0f5-6d4000af62f8

View file

@ -1,3 +1,4 @@
#jinja2:variable_start_string:'[%' , variable_end_string:'%]'
---
- name: terminate instance
hosts: all
@ -8,7 +9,7 @@
- OS_AUTH_URL: http://172.23.0.2:5000/v2.0
- OS_TENANT_NAME: copr
- OS_USERNAME: msuchy
- OS_PASSWORD: {{ copr_nova_password }}
- OS_PASSWORD: [% copr_nova_password %]
tasks:
- name: terminate it