mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
make explicit the scope of config's gather_subset
it only affects the invocation of setup triggered by the gather_facts directive in plays (explicit or implicit)
This commit is contained in:
@@ -372,7 +372,7 @@ This option can be useful for those wishing to save fact gathering time. Both 's
|
|||||||
|
|
||||||
.. versionadded:: 2.1
|
.. versionadded:: 2.1
|
||||||
|
|
||||||
You can specify a subset of gathered facts using the following option::
|
You can specify a subset of gathered facts, via the play's gather_facts directive, using the following option::
|
||||||
|
|
||||||
gather_subset = all
|
gather_subset = all
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,8 @@
|
|||||||
# explicit - do not gather by default, must say gather_facts: True
|
# explicit - do not gather by default, must say gather_facts: True
|
||||||
#gathering = implicit
|
#gathering = implicit
|
||||||
|
|
||||||
# by default retrieve all facts subsets
|
# This only affects the gathering done by a play's gather_facts directive,
|
||||||
|
# by default gathering retrieves all facts subsets
|
||||||
# all - gather all subsets
|
# all - gather all subsets
|
||||||
# network - gather min and network facts
|
# network - gather min and network facts
|
||||||
# hardware - gather hardware facts (longest facts to retrieve)
|
# hardware - gather hardware facts (longest facts to retrieve)
|
||||||
|
|||||||
Reference in New Issue
Block a user