Tristan Cacqueray 8ed7cf4c52 log-inventory: add missing zuul_info_dir prep
The role can't be used as-is without zuul_info_dir fact.

Change-Id: Id785f1b10e60dd09342edcebcbe7923b161add3c
2018-06-25 05:34:18 +00:00

13 lines
289 B
YAML

- name: Ensure Zuul Ansible directory exists
delegate_to: localhost
run_once: true
file:
path: "{{ zuul_info_dir }}"
state: directory
- name: Copy ansible inventory to logs dir
delegate_to: localhost
copy:
src: "{{ inventory_file }}"
dest: "{{ zuul_info_dir }}"