Yes, this is exactly what I was looking for.
Thanks

On Tuesday, 14 August 2018 15:39:26 UTC+3, Steve R wrote:
>
> 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] <javascript:>> 
> 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] <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/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/431f82de-aff1-4adf-a5a9-263bbf0a378c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to