mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
17 lines
423 B
YAML
17 lines
423 B
YAML
|
---
|
||
|
- name: Make sure there are no existing SNMP configuration settings
|
||
|
win_regedit:
|
||
|
path: "{{ item }}"
|
||
|
state: absent
|
||
|
loop:
|
||
|
- "{{ permitted_managers_key }}"
|
||
|
- "{{ valid_communities_key }}"
|
||
|
|
||
|
- name: Create skeleton registry keys for SNMP
|
||
|
win_regedit:
|
||
|
path: "{{ item }}"
|
||
|
state: present
|
||
|
loop:
|
||
|
- "{{ permitted_managers_key }}"
|
||
|
- "{{ valid_communities_key }}"
|