You've already forked role-check-mk-agent
Updated module name
This commit is contained in:
@@ -11,10 +11,11 @@
|
|||||||
- name: list installed selinux modules
|
- name: list installed selinux modules
|
||||||
command: /usr/sbin/semodule -l
|
command: /usr/sbin/semodule -l
|
||||||
register: installed_mods
|
register: installed_mods
|
||||||
|
- name:
|
||||||
- name: check_mk_mod_installed
|
- name: check_mk_mod_installed
|
||||||
set_fact:
|
set_fact:
|
||||||
cmk_mod_installed: True
|
cmk_mod_installed: True
|
||||||
when: '"check-mk-agent-self-update" in installed_mods.stdout'
|
when: '"checkmk-agent-autoupgrade" in installed_mods.stdout'
|
||||||
- name: copy file
|
- name: copy file
|
||||||
copy:
|
copy:
|
||||||
src: files/checkmk-agent-autoupgrade.pp
|
src: files/checkmk-agent-autoupgrade.pp
|
||||||
|
|||||||
Reference in New Issue
Block a user