summaryrefslogtreecommitdiffstats
path: root/ansible_collections/inspur/sm/playbooks/modules/examples-edit_snmp.yml
blob: f2c6f4e090c45d34da6be0654bdf467eb838ebea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- name: trap test
  hosts: ism
  connection: local
  gather_facts: no
  vars:
    ism:
      host: "{{ ansible_ssh_host }}"
      username: "{{ username }}"
      password: "{{ password }}"

  tasks:

  - name: "set snmp get/set"
    inspur.sm.edit_snmp:
      community: "test"
      v3username: "Inspur"
      provider: "{{ ism }}"