1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00
iiab/.travis.yml

16 lines
666 B
YAML
Raw Normal View History

language: python
python: "3.8"
dist: focal
#addons:
# apt:
# packages:
# - python-pip
install:
2021-02-24 22:12:27 +00:00
# - scripts/ansible # Fails to install latest Ansible (& ~4 Ansible Collections from collections.yml)
# - 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!)
2021-02-24 22:19:13 +00:00
- "{ echo '[defaults]'; echo 'roles_path = ./roles/'; } >> ansible.cfg" # Create ansible.cfg with correct roles_path and local_tmp
- cat ansible.cfg # TEMP TESTING
script:
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check