Le 05/09/2017 à 22:26, Kenny Barnes a écrit :
> Thanks but I moved like so and now get another error.
>
>  tasks:
>   - name: Pull WWPNs from UCS
>      getucswwpns:
>        host={{ inventory_hostname }}
>        ucs_user="config"
>        ucs_pass="config"
>        outputfile=output.txt
>        logfile=log.txt
>
>
> The offending line appears to be:
>
>   - name: Pull WWPNs from UCS
>      getucswwpns:
>                           ^ here

Hi,

All your problems lies to some wrong indentation...

Please read :
http://docs.ansible.com/ansible/latest/YAMLSyntax.html
and
http://docs.ansible.com/ansible/latest/playbooks_roles.html#task-versus-play-includes

in your last error, getucswwpns need to be aligned to name...

Regards,

JYL

-- 
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/abf849c1-1247-c70f-b424-67e4a0ba1bab%40lenhof.eu.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to