Hi Frank,
21 juin 2017 10:29 "Frank Thommen" <[email protected]> a écrit: > Hi, > > from ansible's documentation I don't understand how ansible handles fact > gathering when using > roles: Are a host's facts gathered at each single playbook run? Or at each > "role" run? Or only > once? > > In most cases one would want to gather facts only once in the beginning, but > is this the case > and/or how can I check this? This is at playbook level, not at role level For me the gathering fact happens each time a new block of hosts/tasks in the playbook You can control it by using gather_facts: no to skip it. Regards, JYL -- 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/2863f501223c9d2da4cd72550ce495b6%40wwws.lenhof.eu.org. For more options, visit https://groups.google.com/d/optout.
