On Tue, 4 Mar 2014, Dag Wieers wrote:

On Tue, 4 Mar 2014, Brian Coca wrote:

 Is it not what  "module_setup": "true", was for?

Now I feel stupid :)

https://github.com/ansible/ansible/commit/fedfd187749654105a22be20c27e0050bc722d0a

But yes, that's the logic we (I guess) copied however I didn't see the setup module exposing this. So what confused me here is that this is piggy-backed by the facts-gathering logic, rather than part of the setup module as I was used to.

So in my opinion, a call to setup (through an action) should expose this as well. My bad :)

Ok, so this pull-request implements the setup module how it should have been from the start:

    https://github.com/ansible/ansible/pull/6278

No special magic from the playbook/__init__.py, and it behaves like other facts modules, especially when run as a task.

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

Reply via email to