[ansible-project] Re: What am I missing?

2019-11-08 Thread Steven Williams
This isn't ios_config though. When i log into the device with the username and password in the ansible script it works fine and the command takes. So why is it failing? On Thursday, November 7, 2019 at 5:48:59 PM UTC-6, Steven Williams wrote: > > Getting Error: > > PLAY [show An

[ansible-project] What am I missing?

2019-11-07 Thread Steven Williams
Getting Error: PLAY [show Anyconnect VPN connections for ASA] * TASK [Set terminal page to zero] *** fatal: [10.53.0.105]: FAILED! =>

[ansible-project] How to fix this?

2019-11-07 Thread Steven Williams
root@jmpnet:/etc/ansible# ansible-playbook test-asa.yml ERROR! 'debug' is not a valid attribute for a Play The error appears to be in '/etc/ansible/test-asa.yml': line 15, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: -

[ansible-project] Re: Anyway to get output without all the "!"?

2019-08-22 Thread Steven Williams
There is not error. It runs but doesn't remove the "!". --- > > - name: show version and other user level commands > > hosts: IOL_Routers > > gather_facts: false > > connection: network_cli > > become: yes > > > tasks: > > - name: run multiple commands on remote nodes > >

[ansible-project] Re: Anyway to get output without all the "!"?

2019-08-22 Thread Steven Williams
Doesn't seem to work. --- - name: show version and other user level commands hosts: IOL_Routers gather_facts: false connection: network_cli become: yes tasks: - name: run multiple commands on remote nodes ios_command: commands: - show run register:

[ansible-project] Re: Anyway to get output without all the "!"?

2019-08-22 Thread Steven Williams
Where would this go within the yml file? On Thursday, August 22, 2019 at 10:49:27 AM UTC-5, Steven Williams wrote: > > --- > > - name: show version and other user level commands > > hosts: IOL_Routers > > gather_facts: false > > connection: network_cli &

[ansible-project] Anyway to get output without all the "!"?

2019-08-22 Thread Steven Williams
--- - name: show version and other user level commands hosts: IOL_Routers gather_facts: false connection: network_cli become: yes tasks: - name: run multiple commands on remote nodes ios_command: commands: - show run - show ip int br