Skip to content

Commit 19974e6

Browse files
committed
Added latest Ansible versions
1 parent 0894d4b commit 19974e6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ python: "2.7"
44

55
env:
66
- ANSIBLE_VERSION=latest
7+
- ANSIBLE_VERSION=2.0.0.2
8+
- ANSIBLE_VERSION=2.0.0.1
9+
- ANSIBLE_VERSION=2.0.0.0
710
- ANSIBLE_VERSION=1.9.4
811
- ANSIBLE_VERSION=1.9.3
912
- ANSIBLE_VERSION=1.9.2
@@ -45,11 +48,11 @@ script:
4548
- ansible-playbook -i tests/inventory tests/test.yml --syntax-check
4649

4750
# Run the role/playbook with ansible-playbook.
48-
- ansible-playbook -i tests/inventory tests/test.yml --connection=local --sudo -vvvv
51+
- ansible-playbook -i tests/inventory tests/test.yml -vvvv
4952

5053
# Run the role/playbook again, checking to make sure it's idempotent.
5154
- >
52-
ansible-playbook -i tests/inventory tests/test.yml --connection=local --sudo
55+
ansible-playbook -i tests/inventory tests/test.yml
5356
| grep -q 'changed=0.*failed=0'
5457
&& (echo 'Idempotence test: pass' && exit 0)
5558
|| (echo 'Idempotence test: fail' && exit 1)

tests/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# test file for network-interfaces
22
---
33
- hosts: localhost
4-
remote_user: root
4+
connection: local
5+
sudo: true
56
roles:
67
- ../../

0 commit comments

Comments
 (0)