From: alex Date: Sat, 4 Feb 2023 11:16:35 +0000 (+0100) Subject: Force a recheck after updating ragent X-Git-Tag: 20240214-emacs~443 X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=1bae8385ab5012790faef73d491fec739900e7a9;p=alex.git Force a recheck after updating ragent --- diff --git a/personal_infra/playbooks/roles/deploy_ragent/tasks/main.yml b/personal_infra/playbooks/roles/deploy_ragent/tasks/main.yml index 7739867..4df4cc0 100644 --- a/personal_infra/playbooks/roles/deploy_ragent/tasks/main.yml +++ b/personal_infra/playbooks/roles/deploy_ragent/tasks/main.yml @@ -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