Skip to content

Commit

Permalink
Fix unnecessary trigger.
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-checkmk committed Oct 9, 2024
1 parent cfdc54e commit eb87803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/server/tasks/sites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
msg:
- "Just a trigger."
loop: "{{ __checkmk_server_sites_created.results }}"
when: __checkmk_server_sites_created.changed | bool and not item.item.admin_pw is defined
when: __checkmk_server_sites_created.changed | bool and not item.item.admin_pw is defined and item.item.state != "absent"
changed_when: true
notify: Warn site admin password
no_log: "{{ checkmk_server_no_log | bool }}"

0 comments on commit eb87803

Please sign in to comment.