Task:name:New Tasklog_format:markdownsubTask:-name:Love forevervendor:ciscoparallel:falseauthenticate:group:switchesport:22username:value_from_env:key:my_usernamepassword:value_from_env:key:my_passwordprivileged_mode_password:value_from_env:key:my_passwordreconnect:TrueconfigBackup:comment:"Testbackup"exit_on_fail:Truetarget:localskip:-192.168.1.11-192.168.1.12commands:-command:show ip int brtag:show1ask_for_confirmation:falseexit_on_fail:falseonlyOn:-90.84.41.239-command:|show vlan brshow versionwhen:tag:show1operator:isexit_code:0
Input
Type
Description
Options
Default
commands
List
List of commands to execute (In order)
Command options
Input
Type
Description
Options
Default
command
String
Command to execute
tag
String
A tag given to the command, allows us to refer to this commnd in other commands conditions
ask_for_confirmation
Boolean
If True, I will ask for confirmation before executing the command, Default: False
exit_on_fail
Boolean
If True, the script will exit if the command exit with an Error, Default: True
True, False
True
onlyOn
List
A condition (List of hosts to execute only on)
skip
List
A condition (List of hosts to Skip execution on)
when
dct
a condition that determins whether the command will be executed or not (based on another command output)