filmov
tv
14. Ansible Handler

Показать описание
Sometimes you want to run a task, with the condition that another task makes changes to the managed node. For example, you might want to save the configuration or retrieve a backup from a network device only when a configuration changes in network device. more practical examples are when management nodes are servers. For example, you might want to restart a service like Apache only when the configuration of the service changes. If there are no changes in the Apache configuration file, you do not want to restart the service which disrupt the service. The solution in handler, which is the topic of this video.