mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
15 lines
629 B
YAML
15 lines
629 B
YAML
language: python
|
|
python: "3.8"
|
|
dist: focal
|
|
#addons:
|
|
# apt:
|
|
# packages:
|
|
# - python-pip
|
|
install:
|
|
# - 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!)
|
|
# # Create ansible.cfg with correct roles_path and local_tmp
|
|
# - "{ echo '[defaults]'; echo 'roles_path = ./roles/'; } >> ansible.cfg"
|
|
script:
|
|
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
|