mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-16 13:56:03 +08:00
substitute only some vars during deployment on copr
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user