Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

Commit

Permalink
Add test that play works when calling it by it's tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannik authored and jnv committed Feb 24, 2016
1 parent 9009e00 commit d1f7a61
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,10 @@ script:
| grep -q 'changed=0.*failed=0'
&& (echo 'Idempotence test: pass' && exit 0)
|| (echo 'Idempotence test: fail' && exit 1)
- >
ansible-playbook -i inventory role.yml --connection=local --sudo
--tags unattended | grep -q 'changed=0.*failed=0'
&& (echo 'Idempotence test: pass' && exit 0)
|| (echo 'Idempotence test: fail' && exit 1)
- apt-config dump | grep 'Unattended-Upgrade "1"'
- sudo unattended-upgrades --dry-run -d

0 comments on commit d1f7a61

Please sign in to comment.