"hosts" should come before "name". I think.

On Tue, May 1, 2018 at 7:26 AM, Joshua Hill <[email protected]> wrote:

> Can someone show me where my mistakes are with the below playbook? When i
> try to run this playbook it tells me it fails at
>
>     - name: run multiple commands on remote nodes
>       ^ here
>
> ---
> - name: get version
>  hosts: all
>  gather_facts: false
>  connection: local
>
>   tasks:
>    - name: run multiple commands on remote nodes
>      ios_command:
>        commands:
>          - show version
>          - show ip int brief
>
>       register: print_output
>
>     -  debug: var=print_output.stdout_lines
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/28d6edf5-b5de-4241-a5ea-8e586c3b9cb4%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/28d6edf5-b5de-4241-a5ea-8e586c3b9cb4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Karl Auer

Email  : [email protected]
Website: http://2pisoftware.com

GPG/PGP : 958A 2647 6C44 D376 3D63 86A5 FFB2 20BC 0257 5816
Previous: F0AB 6C70 A49D 1927 6E05 81E7 AD95 268F 2AB6 40EA

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2B%2BT08Rr6G_2B5QJ9f3q6cyLh%2BA25Ons1Gx2-NgvvpXTYD%2B5aw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to