mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 10:56:20 +08:00
rkhunter: fix the fact that f30+ don't install ifup/ifdown from network-scripts anymore.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
8bae2ce0da
commit
03aff34bd2
@@ -645,7 +645,7 @@ SCRIPTWHITELIST=/usr/bin/whatis
|
||||
SCRIPTWHITELIST=/usr/bin/ldd
|
||||
SCRIPTWHITELIST=/usr/bin/groups
|
||||
SCRIPTWHITELIST=/usr/bin/GET
|
||||
{% if inventory_hostname.startswith(('osbs')) %}
|
||||
{% if ansible_distribution_major_version|int >= 30 %}
|
||||
# no network-scripts on newest fedora
|
||||
#SCRIPTWHITELIST=/sbin/ifup
|
||||
#SCRIPTWHITELIST=/sbin/ifdown
|
||||
|
||||
Reference in New Issue
Block a user