kayobe/roles/kayobe-diagnostics/tasks/pre.yml
Mark Goddard e327a84307 Save kolla-generated per-node configuration in CI logs
Currently we're saving the config generated by kayobe for kolla, but not
the config generated by kolla for the containers. This change fixes
that.

Change-Id: I5558a4fb8285a4e96f6918d133452d664b7bf0fa
2018-09-28 18:43:11 +01:00

20 lines
425 B
YAML

---
- name: Ensure node log directory exists
file:
path: "{{ kayobe_diagnostics_log_dir }}"
state: "directory"
- name: Ensure node log subdirectories exist
file:
path: "{{ kayobe_diagnostics_log_dir }}/{{ item }}"
state: "directory"
mode: 0777
with_items:
- "docker_logs"
- "kayobe_configs"
- "kolla_configs"
- "kolla_node_configs"
- "system_logs"
- "kolla"
- "ansible"