forked from ansible-lockdown/RHEL9-CIS
Fix 2.2.14
Corrected rule 2.2.14 Ensure dnsmasq is not installed (Automated). Signed-off-by: Luca Berton <luca@ansiblepilot.com>
This commit is contained in:
parent
166e231e9d
commit
9709779492
1 changed files with 1 additions and 2 deletions
|
|
@ -228,9 +228,8 @@
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: dnsmasq
|
name: dnsmasq
|
||||||
state: absent
|
state: absent
|
||||||
notify: Restart postfix
|
|
||||||
when:
|
when:
|
||||||
- not rhel9cis_is_mail_server
|
- not rhel9cis_dnsmasq_server
|
||||||
- "'dnsmasq' in ansible_facts.packages"
|
- "'dnsmasq' in ansible_facts.packages"
|
||||||
- rhel9cis_rule_2_2_14
|
- rhel9cis_rule_2_2_14
|
||||||
tags:
|
tags:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue