community / community.general / 0.1.1 / module / pn_show
Removed in 2.12
Reason:Doesn't support latest Pluribus Networks netvisor | Alternative:Latest modules will be pushed in Ansible future versions.
Run show commands on nvOS device.
Authors: Pluribus Networks (@amitsi)
deprecated | supported by community
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Execute show command in the nodes and returns the results read from the device.
- name: run the vlan-show command pn_show: pn_command: 'vlan-show' pn_parameters: id,scope,ports pn_options: 'layout vertical'
- name: run the vlag-show command pn_show: pn_command: 'vlag-show' pn_parameters: 'id,name,cluster,mode' pn_options: 'no-show-headers'
- name: run the cluster-show command pn_show: pn_command: 'cluster-show'
pn_command: description: - The C(pn_command) takes a CLI show command as value. required: true pn_options: description: - Specify formatting options. pn_cliswitch: description: - Target switch(es) to run the cli on. required: false pn_parameters: default: all description: - Display output using a specific parameter. Use 'all' to display possible output. List of comma separated parameters. pn_clipassword: description: - Provide login password if user is not root. required: false pn_cliusername: description: - Provide login username if user is not root. required: false
changed: description: Indicates whether the CLI caused any change on the target. returned: always(False) type: bool command: description: The CLI command run on the target node(s). returned: always type: str stderr: description: The set of error responses from the show command. returned: on error type: list stdout: description: The set of responses from the show command. returned: always type: list