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