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

@@ -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