Use yum command direct

This commit is contained in:
2020-11-27 00:07:33 +13:00
parent 438962933f
commit 08a725ed68
2 changed files with 6 additions and 8 deletions

View File

@@ -11,10 +11,9 @@
manager: "auto" manager: "auto"
- name: Ensure check_mk_agent installed (again) - name: Ensure check_mk_agent installed (again)
package: command: /usr/bin/yum install --nogpgcheck -y /tmp/check-mk-agent.rpm
name: /tmp/check-mk-agent.rpm args:
state: latest warn: no
disable_gpg_check: true
notify: notify:
- restart xinetd - restart xinetd
- ensure firewall open - ensure firewall open

View File

@@ -18,10 +18,9 @@
dest: /tmp/check-mk-agent.rpm dest: /tmp/check-mk-agent.rpm
- name: Ensure check_mk_agent installed - name: Ensure check_mk_agent installed
package: command: /usr/bin/yum install --nogpgcheck -y /tmp/check-mk-agent.rpm
name: /tmp/check-mk-agent.rpm args:
state: latest warn: no
disable_gpg_check: true
notify: notify:
- restart xinetd - restart xinetd
- cmk fresh install - cmk fresh install