ansible.builtin.nxos_snmp_contact (v2.6.0) — module

Manages SNMP contact info.

| "added in version" 2.2 of ansible.builtin"

Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele)

preview | supported by network

Install Ansible via pip

Install with pip install ansible==2.6.0

Description

Manages SNMP contact information.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# ensure snmp contact is configured
- nxos_snmp_contact:
    contact: Test
    state: present

Inputs

    
state:
    choices:
    - present
    - absent
    default: present
    description:
    - Manage the state of the resource.
    required: true

contact:
    description:
    - Contact information.
    required: true

Outputs

commands:
  description: commands sent to the device
  returned: always
  sample:
  - snmp-server contact New_Test
  type: list