tenks/roles/tenks-diagnostics/tasks/pre.yml
Will Szumski b4bc89dfff Add a zuul job to deploy and teardown a tenks cluster
This stops short of enrolling the nodes in Ironic, but provides
some coverage of the earlier stages.

Change-Id: I48a0bafaff1555caea0a7d216ac6f6a4f11c2b55
Depends-On: https://review.openstack.org/#/c/615544/
Depends-On: https://review.openstack.org/#/c/616510/
Depends-On: https://review.openstack.org/#/c/616501/
2018-11-08 16:21:21 +00:00

17 lines
353 B
YAML

---
- name: Ensure node log directory exists
file:
path: "{{ tenks_diagnostics_log_dir }}"
state: "directory"
- name: Ensure node log subdirectories exist
file:
path: "{{ tenks_diagnostics_log_dir }}/{{ item }}"
state: "directory"
mode: 0777
with_items:
- "libvirt_logs"
- "config"
- "system_logs"
- "ansible"