[ansible-project] Re: Send commands via CLI over SSH to unsupported network device

2020-01-19 Thread Rudi Močnik
Hi I've got a similar issues connecting to a network device running KlasOS. I am not sure which connection type to use to make this work. I've tried with the code that @sign@L posted but no luck. In sign@L's code I see he is using "connection: local" and "ansible_connection=ssh". Isn't this

[ansible-project] Re: Send commands via CLI over SSH to unsupported network device

2018-09-20 Thread sign@L
Thanks to everyone that replied and emailed me. I couldn't get the *expect *module to do what I wanted, but '*raw*' worked perfectly. I needed to do three things on these network devices; 1) backup the current config via SSH, using a single line command 'cfg -s' and save the resulting output to