Hi Jad,

"ANSIBLE_GATHERING" environment variable has same function as "gathering"
ansible.cfg option:

https://docs.ansible.com/ansible/latest/reference_appendices/config.html#default-gathering

--
Steve

On Tue, Aug 14, 2018 at 7:12 AM Jad Baz <[email protected]> wrote:

> Is there a way to disable fact gathering at the command line?
> I couldn't find this anywhere in the docs.
>
>
> As a use case, I sometimes want to run a tag with two or 3 tasks that
> don't require fact gathering and I don't want to disable it on a playbook
> level.
> Maybe there is something I'm missing, please let me know if I'm thinking
> about this correctly.
>
> --
> 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/8125ccd7-9c8a-4ec3-86aa-460b5a02f2aa%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/8125ccd7-9c8a-4ec3-86aa-460b5a02f2aa%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAFbiokdQtymVAN%3DkfsteS4WYT%2BQ-OG-509VYCqe2sX7zXEauHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to