diff --git a/tasks/RedHat.yml b/tasks/RedHat.yml index ead51df..80817c4 100644 --- a/tasks/RedHat.yml +++ b/tasks/RedHat.yml @@ -11,10 +11,11 @@ - name: list installed selinux modules command: /usr/sbin/semodule -l register: installed_mods + - name: - name: check_mk_mod_installed set_fact: 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 copy: src: files/checkmk-agent-autoupgrade.pp