diff --git a/tasks/section_2/cis_2.2.x.yml b/tasks/section_2/cis_2.2.x.yml index 8c6ccf6..563ec4b 100644 --- a/tasks/section_2/cis_2.2.x.yml +++ b/tasks/section_2/cis_2.2.x.yml @@ -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