On Mon, 3 Mar 2014, Dag Wieers wrote:

On Mon, 3 Mar 2014, James Tanner wrote:

 On 03/01/2014 09:16 PM, Dustin C. Hatch wrote:
>   On 02/28/2014 02:56 PM, Michael DeHaan wrote:
> >   Or should we say, it escapes!
> > > > And it's on PyPi now. > > > > http://blog.ansibleworks.com/2014/02/28/ansible-1-5-released/ > > > > Read the blog link above for details, and if you don't want to > > download > > via pip you can hit releases.ansible.com > > <http://releases.ansible.com> too. > > Great work, thank you! I updated to this version yesterday specifically
>   for the "implicit localhost" behavior. It is very helpful since my
>   management machine has Python 3 installed at /usr/bin/python.
> > I did notice, though, that ansible-playbook seems to gather facts
>   between every play now, as opposed to once at the beginning like it did
>   in 1.4.3. Is this intended behavior? I don't see any mention of it in
>   CHANGELOG.md, but I could be overlooking something.

 Are you not setting gather_facts in each of your plays?

We noticed the same thing. Facts are gathered for every play, rather than once per playbook.

The playbook does not mention gather_facts, nor did we specify anything in /etc/ansible/ansible.cfg related to facts gathering.

Ok, I can see the change that was made. In the past gather_facts had 3 states: None, True and False. Now there's only True and False, and the default is True, in which case "setup" is being run at the start of every play as if "gather_facts: yes" was added.

--
-- dag wieers, [email protected], http://dag.wieers.com/
-- dagit linux solutions, [email protected], http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]

--
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/alpine.LRH.2.02.1403031547000.6649%40pikachu.3ti.be.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to