rename snmp var

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2024-08-09 13:13:35 +01:00
parent 265423eb0a
commit 89345c12f8
No known key found for this signature in database
GPG key ID: 997FF7FE93AEB5B9
2 changed files with 13 additions and 10 deletions

View file

@ -461,16 +461,16 @@
block:
- name: "2.1.14 | PATCH | Ensure snmp services are not in use | Remove package"
when:
- not rhel9cis_net_snmp_server
- not rhel9cis_net_snmp_mask
- not rhel9cis_snmp_server
- not rhel9cis_snmp_mask
ansible.builtin.package:
name: net-snmp
state: absent
- name: "2.1.14 | PATCH | Ensure snmp services are not in use | Mask service"
when:
- not rhel9cis_net_snmp_server
- rhel9cis_net_snmp_mask
- not rhel9cis_snmp_server
- rhel9cis_snmp_mask
notify: Systemd_daemon_reload
ansible.builtin.systemd:
name: snmpd.service