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