diff --git a/.travis.yml b/.travis.yml index deb4bf8..df1b6ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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