diff options
| author | jerome <jerome@xlinfo.fr> | 2025-02-07 11:40:40 +0100 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2025-02-07 11:40:40 +0100 |
| commit | 69b3a2cf08873de59883e3c2661ea1b57726eee3 (patch) | |
| tree | 79824f61bf1a6b556d85fd652f3b6ead787a4744 /playbooks/lamp/.travis.yml | |
| download | terraform-ansible-69b3a2cf08873de59883e3c2661ea1b57726eee3.tar.gz terraform-ansible-69b3a2cf08873de59883e3c2661ea1b57726eee3.zip | |
premier commit
Diffstat (limited to 'playbooks/lamp/.travis.yml')
| -rw-r--r-- | playbooks/lamp/.travis.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/playbooks/lamp/.travis.yml b/playbooks/lamp/.travis.yml new file mode 100644 index 0000000..36bbf62 --- /dev/null +++ b/playbooks/lamp/.travis.yml @@ -0,0 +1,29 @@ +--- +language: python +python: "2.7" + +# Use the new container infrastructure +sudo: false + +# Install ansible +addons: + apt: + packages: + - python-pip + +install: + # Install ansible + - pip install ansible + + # Check ansible version + - ansible --version + + # Create ansible.cfg with correct roles_path + - printf '[defaults]\nroles_path=../' >ansible.cfg + +script: + # Basic role syntax check + - ansible-playbook tests/test.yml -i tests/inventory --syntax-check + +notifications: + webhooks: https://galaxy.ansible.com/api/v1/notifications/
\ No newline at end of file |
