mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
rename snmp var
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
265423eb0a
commit
89345c12f8
2 changed files with 13 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue