Create config-download dir in tripleo-bootstrap role

Instead of creating the /var/lib/heat-config/tripleo-config-download
directory before every individual server deployment, we should just do
it one time. Move the task to the new tripleo-bootstrap role which is
run at the beginning before any deployments.

Change-Id: Id8706f61df717bbe614aade659ff13b857e7f9dd
Closes-Bug: #1737801
This commit is contained in:
James Slagle 2017-12-12 13:12:11 -05:00
parent 7f3e8df345
commit 00136d8107
2 changed files with 6 additions and 6 deletions

View File

@ -4,3 +4,9 @@
yum:
name: "{{ packages_bootstrap }}"
become: true
- name: Create /var/lib/heat-config/tripleo-config-download directory for deployment data
file:
path: /var/lib/heat-config/tripleo-config-download
state: directory
become: true

View File

@ -1,9 +1,3 @@
- name: Create /var/lib/heat-config/tripleo-config-download directory for deployment data
file:
path: /var/lib/heat-config/tripleo-config-download
state: directory
become: true
- name: "Render deployment file for {{ item }}"
template:
src: ../templates/heat-config.j2