Aug 30 in DevOps
Q: What are Ansible Handlers?

1 Answer

0 votes
Aug 30

Handlers are exactly like regular tasks inside an Ansible playbook but run only when the task contains notify directive and also additional information if it changes something.

Eg: When a config file was changed, the task referencing that config file notifies the service restart handler.

Related questions

0 votes
Nov 27, 2019 in DevOps
+1 vote
Dec 5, 2019 in DevOps