Remove hardcoded ansible.cfg in tox
It is possible users want to use their own ansible.cfg file. Now we default to what ever ansible-playbook can find. Also update our pre.yaml file to install ansible.cfg into the home directory of the zuul user. Change-Id: I354078caed5bee8954a7c21ebef98c8a540f6778 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
9d8e5eaeea
commit
acdfa8785c
|
@ -23,6 +23,12 @@
|
|||
chdir: "{{ windmill_src_dir }}"
|
||||
command: tox -evenv --notest
|
||||
|
||||
- name: Install ansible configuration file
|
||||
copy:
|
||||
dest: "{{ ansible_user_dir }}/.ansible.cfg"
|
||||
remote_src: True
|
||||
src: "{{ ansible_user_dir }}/{{ windmill_src_dir }}/tests/ansible.cfg"
|
||||
|
||||
- name: Install ansible roles via galaxy
|
||||
args:
|
||||
chdir: "{{ windmill_src_dir }}"
|
||||
|
|
Loading…
Reference in New Issue