ansible.builtin.nxos_ospf (v2.7.16) — module

Manages configuration of an ospf instance.

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

Authors: Gabriele Gerbino (@GGabriele)

preview | supported by network

Install Ansible via pip

Install with pip install ansible==2.7.16

Description

Manages configuration of an ospf instance.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- nxos_ospf:
    ospf: 1
    state: present

Inputs

    
ospf:
    description:
    - Name of the ospf instance.
    required: true

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Determines whether the config should be present or not on the device.
    required: false

Outputs

commands:
  description: commands sent to the device
  returned: always
  sample:
  - router ospf 1
  type: list