Make sure you have the respective purestorage python library.

Also, set PUREFA_URL and PUREFA_API environment variables if *url* and
*api_token* arguments are not passed to the module directly.

-R.Rao

On Thu, 4 Apr 2019 at 10:05, Lucas Possamai <[email protected]> wrote:

> Hi guys.
>
> When calling a playbook I get the following error:
> FAILED! => {"changed": false, "msg": "purestorage sdk is required for this
> module in volume"}
>
> Purestorage sdk is installed in my laptop (i'm running that locally):
> purestorage (1.16.0)
>
> ansible 2.7.9
>   config file = /etc/ansible/ansible.cfg
>   configured module search path =
> [u'/home/lucas/.ansible/plugins/modules',
> u'/usr/share/ansible/plugins/modules']
>   ansible python module location =
> /home/lucas/.local/lib/python2.7/site-packages/ansible
>   executable location = /usr/bin/ansible
>   python version = 2.7.15+ (default, Oct  2 2018, 22:12:08) [GCC 8.2.0]
>
> What could that error be for?
> Thanks!
>
> --
> 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/CAE_gQfUdPurAMF9Q4mpProD4BeGjDbaJ5tSqwqXekUMAC%2Bf4Dg%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAE_gQfUdPurAMF9Q4mpProD4BeGjDbaJ5tSqwqXekUMAC%2Bf4Dg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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/CAKbF63gDBN6YANcqVv%2BZKv%2BS7jprT2wy9V1qkZPRMi3pQ3d0xA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to