mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 10:31:56 +08:00
@@ -110,7 +110,7 @@
|
||||
- name: copy over our custom selinux module for mirrorlist
|
||||
copy: src=selinux/fi-nrpe.pp dest=/usr/share/nrpe/mirrormanager_container.pp
|
||||
register: selinux_module_mirrorlist
|
||||
when: 'proxy' in inventory_hostname
|
||||
when: "'proxy' in inventory_hostname"
|
||||
tags:
|
||||
- config
|
||||
- nagios_client
|
||||
@@ -118,7 +118,7 @@
|
||||
|
||||
- name: install our custom selinux module for mirrorlist
|
||||
command: semodule -i /usr/share/nrpe/mirrormanager_container.pp
|
||||
when: 'proxy' in inventory_hostname and selinux_module|changed
|
||||
when: "'proxy' in inventory_hostname and selinux_module|changed"
|
||||
tags:
|
||||
- config
|
||||
- nagios_client
|
||||
|
||||
Reference in New Issue
Block a user