blob: 7a72289e592acf3b57890195c94e72d9bba027cb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
---
language: python
python: "3.5"
# Use the new container infrastructure
sudo: false
# Install pip
addons:
apt:
packages:
- python-pip
install:
# Install ansible
- pip install ansible
# Check ansible version
- ansible --version
- ansible-galaxy install -r test/requirements.yml -p test/roles/
script:
# Basic role syntax check
- ansible-playbook test/main.yml -i test/hosts --syntax-check
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|