September 2018
Beginner to intermediate
214 pages
5h 53m
English
This folder usually contains the main file with multiple handler tasks that are waiting to be triggered by other tasks, either with the role or from other playbooks or roles. It is mainly used for service management to apply a configuration change performed by another task. Here is an example of a handler script:
handlers/main.yml:--- - name: Restart ntp service: name: ntp state: restarted
Read now
Unlock full access