diff --git a/tasks/RedHat-register.yml b/tasks/RedHat-register.yml index 17ad77f..3e1beaa 100644 --- a/tasks/RedHat-register.yml +++ b/tasks/RedHat-register.yml @@ -11,10 +11,9 @@ manager: "auto" - name: Ensure check_mk_agent installed (again) - package: - name: /tmp/check-mk-agent.rpm - state: latest - disable_gpg_check: true + command: /usr/bin/yum install --nogpgcheck -y /tmp/check-mk-agent.rpm + args: + warn: no notify: - restart xinetd - ensure firewall open diff --git a/tasks/RedHat.yml b/tasks/RedHat.yml index 6a4ea96..3331c43 100644 --- a/tasks/RedHat.yml +++ b/tasks/RedHat.yml @@ -18,10 +18,9 @@ dest: /tmp/check-mk-agent.rpm - name: Ensure check_mk_agent installed - package: - name: /tmp/check-mk-agent.rpm - state: latest - disable_gpg_check: true + command: /usr/bin/yum install --nogpgcheck -y /tmp/check-mk-agent.rpm + args: + warn: no notify: - restart xinetd - cmk fresh install