1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/win_snmp/tasks/cleanup.yml

17 lines
423 B
YAML
Raw Normal View History

---
- 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 }}"