Masking service when server package is needed

Signed-off-by: Ionut Pruteanu <ionut.pruteanu@siemens.com>
This commit is contained in:
Ionut Pruteanu 2023-12-07 18:10:09 +02:00
parent 8405e67db2
commit 9d988b483f
No known key found for this signature in database
GPG key ID: 95B7D43B702B3569

View file

@ -274,8 +274,8 @@
masked: true
state: stopped
when:
- not rhel9cis_use_nfs_server
- rhel9cis_use_nfs_service
- rhel9cis_use_nfs_server
- not rhel9cis_use_nfs_service
when:
- "'nfs-utils' in ansible_facts.packages"
- rhel9cis_rule_2_2_16