Note
This plugin is part of the community.network collection.
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.pn_ospfarea
.
version 2.0.0
Doesn’t support latest Pluribus Networks netvisor
Latest modules will be pushed in Ansible future versions.
Parameter | Choices/Defaults | Comments |
---|---|---|
pn_clipassword string / required | Login password. | |
pn_cliswitch string | Target switch(es) to run the CLI on. | |
pn_cliusername string / required | Login username. | |
pn_ospf_area string / required | Specify the OSPF area number. | |
pn_prefix_listin string | OSPF prefix list for filtering incoming packets. | |
pn_prefix_listout string | OSPF prefix list for filtering outgoing packets. | |
pn_quiet boolean |
| Enable/disable system information. |
pn_stub_type string |
| Specify the OSPF stub type. |
pn_vrouter_name string / required | Specify the name of the vRouter. | |
state string / required |
| State the action to perform. Use 'present' to add ospf-area, 'absent' to remove ospf-area and 'update' to modify ospf-area. |
- name: "Add OSPF area to vrouter" community.network.pn_ospfarea: state: present pn_cliusername: admin pn_clipassword: admin pn_ospf_area: 1.0.0.0 pn_stub_type: stub - name: "Remove OSPF from vrouter" pn_ospf: state: absent pn_cliusername: admin pn_clipassword: admin pn_vrouter_name: name-string pn_ospf_area: 1.0.0.0
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
changed boolean | always | Indicates whether the CLI caused changes on the target. |
command string | always | The CLI command run on the target node(s). |
stderr list / elements=string | on error | The set of error responses from the ospf command. |
stdout list / elements=string | always | The set of responses from the ospf command. |
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/network/pn_ospfarea_module.html