summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/win_snmp/tasks/cleanup.yml
blob: 28d98debeae3c6d9b5c9a83459c52850ecbe2f44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
  - 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 }}"