Fix CI for new collections-based world.

This commit is contained in:
Jeff Geerling 2021-05-30 22:40:57 -05:00
parent b3fd01c991
commit bc7364fac4
2 changed files with 1 additions and 2 deletions

View file

@ -58,7 +58,7 @@ jobs:
cp tests/ansible.cfg ./ansible.cfg cp tests/ansible.cfg ./ansible.cfg
cp tests/inventory ./inventory cp tests/inventory ./inventory
cp tests/config.yml ./config.yml cp tests/config.yml ./config.yml
ansible-galaxy install -r requirements.yml -p ./roles ansible-galaxy install -r requirements.yml
- name: Test the playbook's syntax. - name: Test the playbook's syntax.
run: ansible-playbook main.yml --syntax-check run: ansible-playbook main.yml --syntax-check

View file

@ -1,3 +1,2 @@
[defaults] [defaults]
inventory = inventory inventory = inventory
roles_path = ../:../roles:./roles