I'm attempting to implement a deployment playbook that deploys to digital
ocean. In the ansible docs on the digital_ocean module it states,
"Two environment variables can be used, DO_CLIENT_ID and DO_API_KEY"
I haven't yet written a task or playbook that uses environment variables
that are already set. I've tried setting these in the current process
manually as well as adding these environment variables in the current users
~/.bash_profile. In both cases I get the following message:
msg: Unable to load DO_CLIENT_ID
I've also tried setting these variables in the digital_ocean task using
client_id={{ lookup('env','DO_CLIENT_ID') }} and still get the above
message. Any tips on what I'm doing wrong?
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/2c780234-3e8e-46d5-b0ae-aebb475e0926%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.