Merge "Create missing directories before mounting them"

This commit is contained in:
Zuul 2018-08-30 17:11:44 +00:00 committed by Gerrit Code Review
commit e2a48eac57
4 changed files with 13 additions and 0 deletions

@ -230,6 +230,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

@ -105,6 +105,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

@ -132,6 +132,10 @@ outputs:
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
host_prep_tasks:
- name: create /var/lib/mistral directory
file:
path: /var/lib/mistral
state: directory
- name: create persistent logs directory
file:
path: /var/log/containers/mistral

@ -446,6 +446,7 @@ outputs:
state: directory
with_items:
- /srv/node
- /var/cache/swift
- /var/log/swift
- /var/log/containers
- name: Set swift_use_local_disks fact