Revert "Revert "Create missing directories before mounting them""
This change is actually needed to support a newer version of paunch,
which streamlines the behavior between docker and podman.
This reverts commit d95b5b9a71
.
Change-Id: I3e37828907bbdbfbcd178fd47c5335e5f6ca04e3
This commit is contained in:
parent
2beb6e7d5b
commit
43bcbf571a
|
@ -231,6 +231,10 @@ outputs:
|
|||
file:
|
||||
path: /etc/ceph
|
||||
state: directory
|
||||
- name: ensure /var/lib/glance exists
|
||||
file:
|
||||
path: /var/lib/glance
|
||||
state: directory
|
||||
upgrade_tasks:
|
||||
- when: step|int == 0
|
||||
tags: common
|
||||
|
|
|
@ -106,6 +106,10 @@ outputs:
|
|||
environment:
|
||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||
host_prep_tasks:
|
||||
- name: ensure /etc/iscsi exists
|
||||
file:
|
||||
path: /etc/iscsi
|
||||
state: directory
|
||||
- name: stat /lib/systemd/system/iscsid.socket
|
||||
stat: path=/lib/systemd/system/iscsid.socket
|
||||
register: stat_iscsid_socket
|
||||
|
|
|
@ -166,7 +166,11 @@ outputs:
|
|||
environment:
|
||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||
host_prep_tasks:
|
||||
- name: create persistent directories
|
||||
- name: create /var/lib/mistral directory
|
||||
file:
|
||||
path: /var/lib/mistral
|
||||
state: directory
|
||||
- name: create persistent logs directory
|
||||
file:
|
||||
path: "{{ item.path }}"
|
||||
state: directory
|
||||
|
|
|
@ -472,6 +472,7 @@ outputs:
|
|||
state: directory
|
||||
with_items:
|
||||
- /srv/node
|
||||
- /var/cache/swift
|
||||
- /var/log/swift
|
||||
- /var/log/containers
|
||||
- /var/log/containers/swift
|
||||
|
|
Loading…
Reference in New Issue