Merge "Add UUID to directory where Heat configs are stored"

This commit is contained in:
Zuul 2018-03-26 04:09:18 +00:00 committed by Gerrit Code Review
commit bc916fe529
1 changed files with 2 additions and 2 deletions

View File

@ -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