Merge "Add UUID to directory where Heat configs are stored"
This commit is contained in:
commit
bc916fe529
|
@ -1,7 +1,7 @@
|
|||
- name: "Render deployment file for {{ item }}"
|
||||
template:
|
||||
src: ../templates/heat-config.j2
|
||||
dest: "/var/lib/heat-config/tripleo-config-download/{{ item }}"
|
||||
dest: "/var/lib/heat-config/tripleo-config-download/{{ item ~ '-' ~ vars[item]['id'] }}"
|
||||
become: true
|
||||
vars:
|
||||
deployment: "{{ vars[item] | to_json }}"
|
||||
|
@ -19,7 +19,7 @@
|
|||
exit $(jq .deploy_status_code /var/lib/heat-config/deployed/{{ vars[item].id }}.notify.json)
|
||||
become: true
|
||||
environment:
|
||||
HEAT_SHELL_CONFIG: /var/lib/heat-config/tripleo-config-download/{{ item }}
|
||||
HEAT_SHELL_CONFIG: /var/lib/heat-config/tripleo-config-download/{{ item ~ '-' ~ vars[item]['id'] }}
|
||||
register: deployment_result
|
||||
ignore_errors: yes
|
||||
|
||||
|
|
Loading…
Reference in New Issue