polytech-ansible-2023/roles/ntp/handlers/main.yml
Thomas Maurice 93bb0b0742
All checks were successful
Master branch: build & lint / build (push) Successful in 1m0s
feat(actions): Adds actions & lint (#1)
Adds an action to perform some linting actions on ansible and the yaml files, both on push onto master and on pull requests

Reviewed-on: #1
2024-02-20 17:46:29 +00:00

8 lines
280 B
YAML

---
# handlers are special tasks that you can invoke when something changes.
# in this example you want to invoke this restart handler when the
# configuration of the service changes for example.
- name: "Restart ntp"
ansible.builtin.service:
name: ntp
state: restarted