2017-10-10 06:03:19 +00:00
|
|
|
language: python
|
2021-02-24 21:44:51 +00:00
|
|
|
python: "3.8"
|
|
|
|
dist: focal
|
2021-02-24 21:50:44 +00:00
|
|
|
#addons:
|
|
|
|
# apt:
|
|
|
|
# packages:
|
|
|
|
# - python-pip
|
2021-02-24 21:57:40 +00:00
|
|
|
install:
|
|
|
|
- scripts/ansible # Install latest Ansible & ~4 Ansible Collections (collections.yml)
|
2021-02-24 21:50:44 +00:00
|
|
|
# - pip install ansible
|
|
|
|
# # Create ansible.cfg with correct roles_path and local_tmp
|
|
|
|
# - "{ echo '[defaults]'; echo 'roles_path = ./roles/'; } >> ansible.cfg"
|
2017-10-10 06:03:19 +00:00
|
|
|
script:
|
2021-02-24 21:57:40 +00:00
|
|
|
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
|