Make ohai and facter work via module_utils Fact classes rather than in the setup module

This commit is contained in:
Toshio Kuratomi 2016-03-14 14:50:27 -07:00
commit 512825455e
9 changed files with 135 additions and 104 deletions

View file

@ -33,19 +33,16 @@
# 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)
# facter - import facts from facter
# ohai - import facts from ohai
# You can combine them using comma (ex: network,virtual)
# You can negate them using ! (ex: !hardware,!facter,!ohai)
# A minimal set of facts is always gathered.
#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