On 12/2/20 2:35 PM, Daniel Caillibaud wrote:
> Hi,
> 
> I saw that I can specify
>   gather_facts: no
> in a playbook or a tasks list, but is it possible to precise it for a role ?
> 
> I tried on top of a roles/xxx/tasks.yml (because it's a tasks list) but it
> throw a syntax error while loading yml
> 
> Thanks
> 

Gathering facts takes place at the beginning of a play, so why would you want 
to disable that in a role?

Regards
        Racke

-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/26324758-12f9-6192-8843-9f412ac943e4%40linuxia.de.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to