[ansible-devel] Issues running playbook in my EVE-NG lab

2019-08-21 Thread Steven Williams
Stevens-MacBook-Pro:ansible stevenwiliams$ cat getver1.yml - name: show version and other user level commands hosts: IOL_Routers gather_facts: false connection: local tasks: - name: run multiple commands on remote nodes ios_command: commands: - show

Re: [ansible-devel] Cant save output to file?

2019-08-21 Thread Steven Williams
Issue was permissions within the ansible folder itself. directed to another directory and it worked. On Wednesday, August 21, 2019 at 2:21:49 PM UTC-5, Nathan Brady wrote: > > Steven, > > I use tee so I can see the output and pass the full path. > > eg. > Stevens-MacBook-Pro:ansible

Re: [ansible-devel] error in import playbook

2019-08-21 Thread Bob Harold
On Wed, Aug 21, 2019 at 1:07 PM Dmitriy Trubov wrote: > hi, > here is simple example: > > wrapper play book > --- > - name: Test Wrapper Playbook > > hosts: all > tasks: > > - name: Storage console > debug: > msg: "Test Wrapper Play book" > tags: > - always > > - name:

Re: [ansible-devel] Cant save output to file?

2019-08-21 Thread Nathan Brady
Steven, I use tee so I can see the output and pass the full path. eg. Stevens-MacBook-Pro:ansible stevenwiliams$ ansible IOL_Routers -i ./hosts -m raw -a "show run" -u cisco -k *| tee /tmp/filetest* The issue may be with the directory permissions. Nathan Brady Red Hat Consulting e:

[ansible-devel] Cant save output to file?

2019-08-21 Thread Steven Williams
Stevens-MacBook-Pro:ansible stevenwiliams$ ansible IOL_Routers -i ./hosts -m raw -a "show run" -u cisco -k > filetest -bash: filetest: Permission denied Stevens-MacBook-Pro:ansible stevenwiliams$ what am I missing here?? -- You received this message because you are subscribed to the

[ansible-devel] error in import playbook

2019-08-21 Thread Dmitriy Trubov
hi, here is simple example: wrapper play book --- - name: Test Wrapper Playbook hosts: all tasks: - name: Storage console debug: msg: "Test Wrapper Play book" tags: - always - name: Precheck Storage Console import_playbook: "playbooks/test_playbook.yml"

[ansible-devel] error message in import playbook: this task 'import_playbook' has extra params

2019-08-21 Thread Dmitriy Trubov
Hi I have error in importing playbook TASK [Perform storage console playbook test] *