diff --git a/.travis.yml b/.travis.yml index ca4504492..5fec256f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,9 +6,10 @@ dist: focal # packages: # - python-pip install: -# - scripts/ansible # Fails to install latest Ansible (& ~4 Ansible Collections from collections.yml) +# - scripts/ansible # See #2105: fails to install latest Ansible (& ~4 Ansible Collections from collections.yml) due to Travis VM's disk layout/perms being different # - pip install ansible # SLOW/OVERWEIGHT: installs Ansible 3.0.0+ with ~80 Ansible Collections - pip install ansible-base # Let's avoid all Ansible Collections for now (for Ansible syntax check!) + - ansible-galaxy collection install -r collections.yml - "{ echo 'roles_path = ./roles/'; } >> ansible.cfg" # Add correct roles_path to ansible.cfg # - "{ echo '[defaults]'; echo 'roles_path = ./roles/'; } >> ansible.cfg" # Create ansible.cfg with correct roles_path and local_tmp # - cat ansible.cfg # UNCOMMENT TO VERIFY