Ansible Handler notify vs register

前端 未结 3 1005
梦谈多话
梦谈多话 2021-01-30 20:29

So after reading Ansible docs, I found out that Handlers are only fired when tasks report changes, so for example:

some tasks ...
notify: nginx_rest         


        
3条回答
  •  独厮守ぢ
    2021-01-30 20:36

    with ignore_errors: True you can avoid the failed handler from stopping other handlers defined after it continue to run

提交回复
热议问题