-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I think there is a typo in the "run_device_commands.yml" file.
-
hosts: all
gather_facts: false
collections:- zpe.device_connection
vars_prompt:- name: target
prompt: Enter target name, either ttyS or current device name - name: username
prompt: Enter username - name: password
prompt: Enter target password - name:
target (It should be target_os)
prompt: Enter target_os [generic, ios, junos,panos,fortios]
default: generic
- name: target
tasks:
-
name: Run commands
run_command:
target: "{{ target }}"
username: "{{ username }}"
password: "{{ password }}"
target_os: "{{ target_os }}"
cmds:
- 'show version'
register: cmds_output -
name: Print command results
debug:
var: cmds_output
- zpe.device_connection
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels