forked from ansible-lockdown/RHEL9-CIS
Masking service when server package is needed
Signed-off-by: Ionut Pruteanu <ionut.pruteanu@siemens.com>
This commit is contained in:
parent
8405e67db2
commit
9d988b483f
1 changed files with 2 additions and 2 deletions
|
|
@ -274,8 +274,8 @@
|
||||||
masked: true
|
masked: true
|
||||||
state: stopped
|
state: stopped
|
||||||
when:
|
when:
|
||||||
- not rhel9cis_use_nfs_server
|
- rhel9cis_use_nfs_server
|
||||||
- rhel9cis_use_nfs_service
|
- not rhel9cis_use_nfs_service
|
||||||
when:
|
when:
|
||||||
- "'nfs-utils' in ansible_facts.packages"
|
- "'nfs-utils' in ansible_facts.packages"
|
||||||
- rhel9cis_rule_2_2_16
|
- rhel9cis_rule_2_2_16
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue