Skip to content

Commit 3635b5b

Browse files
committed
use sudo
1 parent be421d7 commit 3635b5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
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 tests/test.yml
17+
- ansible-playbook -i localhost, --connection=local --sudo 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 tests/test.yml
21+
ansible-playbook -i localhost, --connection=local --sudo 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)