diff options
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | handlers/main.yml | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 48c5bb9..11a7369 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,6 @@ script: # Run the role/playbook with ansible-playbook. - "ansible-playbook -i tests/inventory tests/$SITE --connection=local --sudo" - - "ansible-playbook -i tests/inventory tests/$SITE --connection=local --sudo" # Run the role/playbook again, checking to make sure it's idempotent. - > diff --git a/handlers/main.yml b/handlers/main.yml index eb57480..37d0e52 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,3 +1,4 @@ --- - name: restart ntp service: "name={{ ntp_daemon }} state=restarted" + when: ntp_enabled |