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:
parent
7f3e8df345
commit
00136d8107
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user