Skip to content

Commit 99ecd26

Browse files
authoredJun 21, 2019
Merge pull request #63 from singleplatform-eng/Bugfix_old_syntax_in_test
--sudo is no more in newer versions of ansible-playbook
2 parents c53ae29 + d9ca402 commit 99ecd26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ script:
1414
- ansible-playbook -i localhost, tests/test.yml --syntax-check
1515

1616
# Run test.yml
17-
- ansible-playbook -i localhost, --connection=local --sudo tests/test.yml
17+
- ansible-playbook -i localhost, --connection=local -b tests/test.yml
1818

1919
# Run the role/playbook again, checking to make sure it's idempotent.
2020
- >
21-
ansible-playbook -i localhost, --connection=local --sudo tests/test.yml
21+
ansible-playbook -i localhost, --connection=local -b tests/test.yml
2222
| grep -q 'changed=0.*failed=0'
2323
&& (echo 'Idempotence test: pass' && exit 0)
2424
|| (echo 'Idempotence test: fail' && exit 1)

0 commit comments

Comments
 (0)
Please sign in to comment.