]> xn--ix-yja.es Git - alex.git/commitdiff
Force a recheck after updating ragent
authoralex <alex@pdp7.net>
Sat, 4 Feb 2023 11:16:35 +0000 (12:16 +0100)
committeralex <alex@pdp7.net>
Sat, 4 Feb 2023 11:16:53 +0000 (12:16 +0100)
personal_infra/playbooks/roles/deploy_ragent/tasks/main.yml

index 7739867716f4680c44aea020c82086547fedb230..4df4cc0378e633fadebd571a9ae2025a7a9c5095 100644 (file)
@@ -37,3 +37,9 @@
 - name: reload firewall
   command: firewall-cmd --reload
   when: ansible_os_family == "RedHat" and ansible_distribution_major_version in ("7", "8", "9") and ansible_virtualization_type != "lxc"
+- name: force check
+  community.general.nagios:
+    action: forced_check
+    host: "{{ inventory_hostname }}"
+    service: check_ragent
+  delegate_to: nagios.h1.int.pdp7.net