Implement workaround for failure to load ansible.cfg
While the correct fix for this is to stop using fetch-zuul-cloner job, this is not possible right now as is imported by zuul base job. infra-root said that they it will take more time for the zuul base to be fixed due to risk involved on very-old jobs, so we need to implement a local fix for tripleo. Change-Id: I14abcb3273e68e267d6bcc7b2a060486bbd77351 Partial-Bug: 1807703
This commit is contained in:
parent
101074b2e8
commit
e4bfd2e829
|
@ -1,5 +1,15 @@
|
|||
# In ansible 2.7 should be enough to add the option public: true to the calling include_role
|
||||
# for this role. THis is the best workaround
|
||||
# for this role. This is the best workaround
|
||||
- name: Include the vars to be available for the playbook
|
||||
include_vars:
|
||||
dir: vars
|
||||
|
||||
# Workaround for https://launchpad.net/bugs/1807703 safe to remove only once
|
||||
# fetch-zuul-cloner is no longer part of zuul base job.
|
||||
- name: apply o-w workaround on src to avoid failure to load ansible.cfg
|
||||
file:
|
||||
path: "{{ ansible_user_dir }}/src"
|
||||
state: directory
|
||||
recurse: yes
|
||||
mode: o-w
|
||||
become: yes
|
||||
|
|
Loading…
Reference in New Issue