Thanks Brian.

On Friday, April 24, 2015 at 1:31:57 PM UTC-4, Brian Coca wrote:
>
> i think what you want is: 
>  lookup('env', 'OS_PASSWORD') 
>
> On Fri, Apr 24, 2015 at 1:21 PM, John Test <[email protected] 
> <javascript:>> wrote: 
> > Hello 
> > 
> > I am trying to use environment variables in my playbook instead of 
> static 
> > entries. 
> > For example username, password etc. for Openstack. 
> > 
> > I have seen this page 
> > http://docs.ansible.com/playbooks_environment.html 
> > But I don't understand how to pass specific environment variables inside 
> a 
> > playbook. 
> > 
> > In case of Openstack we have 
> > OS_PASSWORD=Password1 
> > OS_AUTH_URL=http://controller:35357/v2.0 
> > OS_USERNAME=demo 
> > OS_TENANT_NAME=demo 
> > 
> > How can I assign these in a playbook such as this 
> > http://pastebin.com/aMaihCme 
> > 
> > 
> > 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] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/ansible-project/f9a70b3e-003c-4198-9821-877793ba9b85%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Brian Coca 
>

-- 
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/2488ff42-fd6b-42e5-98f5-dba17e607af6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to