I would like to send command \"reload in \" to Cisco IOS, but that specific command needs to be confirmed like below:
#reload in 30
Reload scheduled in 30 minut
commands
parameter of ios_command
module expects a YAML
formated list of commands. However in the code example provided commands
parameter is set multiple times. Try the ios_command
task like this:
- name: do reload in case of "catting off"
ios_command:
commands:
- reload in 30
- y
provider: "{{ cli }}"