Merge "log-inventory: set inventory_file if needed"

This commit is contained in:
Zuul 2018-06-30 08:34:02 +00:00 committed by Gerrit Code Review
commit 1673c75658
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
- name: Set inventory_file fact
set_fact:
inventory_file: "{{ zuul.executor.inventory_file }}"
when: inventory_file is not defined
- name: Ensure Zuul Ansible directory exists
delegate_to: localhost
run_once: true