mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Add a way to restrict gathered facts in Ansible:
- Using gather_subset options - By ignoring ohai/chef or facter/puppet facts
This commit is contained in:
committed by
Toshio Kuratomi
parent
2984ffdfac
commit
88772b6003
@@ -31,6 +31,21 @@
|
||||
# explicit - do not gather by default, must say gather_facts: True
|
||||
#gathering = implicit
|
||||
|
||||
# by default retrieve all facts subsets
|
||||
# all - gather all subsets
|
||||
# min - gather a very limited set of facts
|
||||
# network - gather min and network facts
|
||||
# hardware - gather hardware facts (longest facts to retrieve)
|
||||
# virtual - gather min and virtual facts
|
||||
# You can combine them using comma (ex: min,network,virtual)
|
||||
#gather_subset = all
|
||||
|
||||
# by default run ohai
|
||||
#ignore_ohai = False
|
||||
|
||||
# by default run facter
|
||||
#ignore_facter = False
|
||||
|
||||
# additional paths to search for roles in, colon separated
|
||||
#roles_path = /etc/ansible/roles
|
||||
|
||||
|
||||
Reference in New Issue
Block a user