mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Make changes proposed during review of restrict fact gathering feature:
* Make documentation examples into code blocks * Make code to call the subsets more general. * Made min subset always execute (cannot disable it). * Use a passed in modules parameter rather than global modules. This is needed for ziploader * Remove unneeded __init__() * Remove uneeded multiple inheritance from a base class * gather_facts is now a list type
This commit is contained in:
@@ -355,7 +355,7 @@ This option can be useful for those wishing to save fact gathering time. Both 's
|
||||
|
||||
.. versionadded:: 2.1
|
||||
|
||||
You can specify a subset of gathered facts using the following options:
|
||||
You can specify a subset of gathered facts using the following options::
|
||||
|
||||
gather_subset = all
|
||||
|
||||
@@ -367,7 +367,7 @@ You can specify a subset of gathered facts using the following options:
|
||||
|
||||
You can combine them using comma separated list (ex: min,network,virtual)
|
||||
|
||||
You can also disable puppet facter or chef ohai facts collection using following options:
|
||||
You can also disable puppet facter or chef ohai facts collection using following options::
|
||||
|
||||
ignore_ohai = True
|
||||
ignore_facter = True
|
||||
|
||||
Reference in New Issue
Block a user