I think this has been answered in a previous post. 

https://groups.google.com/forum/#!searchin/ansible-project/$20facts$20gathered/ansible-project/AGuHOnCgpc4/XIKaAnP3I-UJ

re-run the setup module, to get updated ansible_env

tasks:
   - action: setup

Thanks guys!

On Friday, January 3, 2014 3:00:22 PM UTC, bryan hunt wrote:
>
> Yes. Well surmised. Is there any way to re-trigger the gathering inside a 
> playbook? 
>
>
> On 3 Jan 2014, at 14:55, Brian Coca <[email protected]> wrote:
>
> ansible_env gets set when facts are gathered and of course user variables 
> depend on which user was used to gather those facts.
>
>
> -- 
> Brian Coca
> Stultorum infinitus est numerus
>
> 0110000101110010011001010110111000100111011101000010000001111001011011110111010100100000011100110110110101100001011100100111010000100001
> Pedo mellon a minno
>  
> -- 
> 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/mwfEWx6iCmY/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].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to