I did not add the getucswwpns module, and good to know it has to be. Thanks for the input.
On Thu, Sep 7, 2017 at 11:42 AM, Kai Stian Olstad < [email protected]> wrote: > On torsdag 7. september 2017 16.55.04 CEST Kenny Barnes wrote: > > Not sure what you mean my removing the parentheses and text between. > > Doesn't that equal blank?? > > This is my complete yml file> > > --- > > - name: Get Existing UCS Information > > hosts: ucs > > connection: local > > gather_facts: no > > In you initial mail you had this > hosts: ucs (Runs on UCS group in the inv file) > > So if you had this in you playbook it would fail and the reason for my > comment. > > > > tasks: > > - name: Pull WWPNs from UCS > > getucswwpns: > > hosts= {{ inventory_hostname }} > > ucs_usercwcw="config" > > ucs_passcwcw="config" > > outputfilecw=output.txt > > logfile=log.txt > > > > This is the complete error msg. > > ERROR! no action detected in task. This often indicates a misspelled > module > > name, or incorrect module path. > > This is the essential error message, your module getucswwpns doesn't exist. > getucswwpns is not part of Ansible so you would need to install it. > > > -- > Kai Stian Olstad > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ansible Project" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/ansible-project/CAyFe8IZgP4/unsubscribe. > To unsubscribe from this group and all its topics, 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/3432779.qMD1SayOm8%40x1. > For more options, visit https://groups.google.com/d/optout. > -- 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/CAGpHH7qRYn7nNfPSqJjqxxLaLvuH_fUHw34DSVUziTNzqPB6Fg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
