Debian Codegraph @

ansible_collections/community/windows/tests/integration/targets/win_snmp/tasks/cleanup.yml

raw
1 ---
2 - name: Make sure there are no existing SNMP configuration settings
3 ansible.windows.win_regedit:
4 path: "{{ item }}"
5 state: absent
6 loop:
7 - "{{ permitted_managers_key }}"
8 - "{{ valid_communities_key }}"
9
10 - name: Create skeleton registry keys for SNMP
11 ansible.windows.win_regedit:
12 path: "{{ item }}"
13 state: present
14 loop:
15 - "{{ permitted_managers_key }}"
16 - "{{ valid_communities_key }}"