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
|
state: enabled
|
||||||
permanent: yes
|
permanent: yes
|
||||||
immediate: yes
|
immediate: yes
|
||||||
|
ignore_errors: true
|
||||||
|
|
||||||
- name: remove agent
|
- name: remove agent
|
||||||
file:
|
file:
|
||||||
path: /tmp/check-mk-agent.rpm
|
path: /tmp/check-mk-agent.rpm
|
||||||
|
state: absent
|
||||||
|
|
||||||
|
- name: remove selinux policy file
|
||||||
|
file:
|
||||||
|
path: /tmp/checkmk-agent-autoupgrade.pp
|
||||||
state: absent
|
state: absent
|
||||||
@@ -24,6 +24,7 @@
|
|||||||
- name: install the module
|
- name: install the module
|
||||||
command: /usr/sbin/semodule -i /tmp/checkmk-agent-autoupgrade.pp
|
command: /usr/sbin/semodule -i /tmp/checkmk-agent-autoupgrade.pp
|
||||||
when: cmk_mod_installed is not defined
|
when: cmk_mod_installed is not defined
|
||||||
|
notify: remove selinux policy file
|
||||||
when: ansible_selinux
|
when: ansible_selinux
|
||||||
tags: selinux-pre
|
tags: selinux-pre
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user