diff options
author | 2017-05-05 15:17:55 +0000 | |
---|---|---|
committer | 2017-05-05 15:17:55 +0000 | |
commit | 574617d007b02f98b2ac9b7e853cf4fd266fe085 (patch) | |
tree | 5a6069263cc5160b1051078370ae15785add0cd8 /docker/services/ironic-conductor.yaml | |
parent | c577755082a92e638ca03ae8a8bd38045bf7901c (diff) | |
parent | 58a8b282c2f244b2675a6da7aac161a53f58c288 (diff) |
Merge "Mount hostpath logs on /var/log"
Diffstat (limited to 'docker/services/ironic-conductor.yaml')
-rw-r--r-- | docker/services/ironic-conductor.yaml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/docker/services/ironic-conductor.yaml b/docker/services/ironic-conductor.yaml index 99d67e04..0b1d448a 100644 --- a/docker/services/ironic-conductor.yaml +++ b/docker/services/ironic-conductor.yaml @@ -78,6 +78,9 @@ outputs: - path: /var/lib/ironic owner: ironic:ironic recurse: true + - path: /var/log/ironic + owner: ironic:ironic + recurse: true docker_config: step_4: ironic_conductor: @@ -100,13 +103,17 @@ outputs: - /dev:/dev - /run:/run #shared? - /var/lib/ironic:/var/lib/ironic + - /var/log/containers/ironic:/var/log/ironic environment: - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS host_prep_tasks: - - name: create ironic persistent data directory + - name: create persistent directories file: - path: /var/lib/ironic + path: "{{ item }}" state: directory + with_items: + - /var/log/containers/ironic + - /var/lib/ironic - name: stat /httpboot stat: path=/httpboot register: stat_httpboot |