is it possible to run playbooks in an "offline" mode where setup wouldn't 
make any remote requests, leaving out any facts that require it?

we sometimes have limited internet connectivity and playbooks that are only 
doing local work will hang on setup. running with `gather_facts = false` 
allows the playbook to execute, but then conditionals that check 
`ansible_distribution` fail, even though we can't need internet access to 
figure that out.

i've read about `gather_subset` at configuration 
<http://docs.ansible.com/ansible/intro_configuration.html> and setup 
<http://docs.ansible.com/ansible/setup_module.html>... maybe that's what 
`!network` does? it's not clear from the documentation (just says "gather 
network facts" as far as i can find).

thanks.

-- 
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/f1405b91-eb2e-4861-bb28-a03a6beb80c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to