0 votes
in DevOps by
What are Ansible Handlers?

1 Answer

0 votes
by

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
0 votes
asked Nov 27, 2019 in DevOps by rajeshsharma
0 votes
asked Aug 30, 2021 in DevOps by SakshiSharma
...