recover.yml (570B)
1 --- 2 # An interrupted play loses its handler notifications even though its file 3 # changes survive. Requeue them only after this role has configured everything. 4 - name: Reapply monitoring configuration after an incomplete deployment 5 ansible.builtin.debug: 6 msg: Reapplying monitoring configuration left by an incomplete deployment. 7 changed_when: true 8 when: deployment_recover_configuration | default(false) | bool 9 notify: 10 - Restart monitoring node_exporter 11 - Restart monitoring proxy 12 - Restart monitoring journal 13 - Restart monitoring Fluent Bit