File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ python: "2.7"
4
4
5
5
env :
6
6
- ANSIBLE_VERSION=latest
7
+ - ANSIBLE_VERSION=2.0.0.2
8
+ - ANSIBLE_VERSION=2.0.0.1
9
+ - ANSIBLE_VERSION=2.0.0.0
7
10
- ANSIBLE_VERSION=1.9.4
8
11
- ANSIBLE_VERSION=1.9.3
9
12
- ANSIBLE_VERSION=1.9.2
@@ -45,11 +48,11 @@ script:
45
48
- ansible-playbook -i tests/inventory tests/test.yml --syntax-check
46
49
47
50
# 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
49
52
50
53
# Run the role/playbook again, checking to make sure it's idempotent.
51
54
- >
52
- ansible-playbook -i tests/inventory tests/test.yml --connection=local --sudo
55
+ ansible-playbook -i tests/inventory tests/test.yml
53
56
| grep -q 'changed=0.*failed=0'
54
57
&& (echo 'Idempotence test: pass' && exit 0)
55
58
|| (echo 'Idempotence test: fail' && exit 1)
Original file line number Diff line number Diff line change 1
1
# test file for network-interfaces
2
2
---
3
3
- hosts : localhost
4
- remote_user : root
4
+ connection : local
5
+ sudo : true
5
6
roles :
6
7
- ../../
You can’t perform that action at this time.
0 commit comments