You've already forked role-check-mk-agent
Don't fail if firewalld not active
This commit is contained in:
@@ -16,8 +16,14 @@
|
||||
state: enabled
|
||||
permanent: yes
|
||||
immediate: yes
|
||||
ignore_errors: true
|
||||
|
||||
- name: remove agent
|
||||
file:
|
||||
path: /tmp/check-mk-agent.rpm
|
||||
state: absent
|
||||
|
||||
- name: remove selinux policy file
|
||||
file:
|
||||
path: /tmp/checkmk-agent-autoupgrade.pp
|
||||
state: absent
|
||||
@@ -24,6 +24,7 @@
|
||||
- name: install the module
|
||||
command: /usr/sbin/semodule -i /tmp/checkmk-agent-autoupgrade.pp
|
||||
when: cmk_mod_installed is not defined
|
||||
notify: remove selinux policy file
|
||||
when: ansible_selinux
|
||||
tags: selinux-pre
|
||||
|
||||
|
||||
Reference in New Issue
Block a user