Skip to content

Commit 0075db6

Browse files
NilashishCsamccann
andauthored
[network] update note about gather_network_resources (#1096)
* update note about `gather_network_resources` * Update docs/docsite/rst/network/getting_started/first_playbook.rst Co-authored-by: Sandra McCann <[email protected]> --------- Co-authored-by: Sandra McCann <[email protected]>
1 parent 9aed903 commit 0075db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docsite/rst/network/getting_started/first_playbook.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,6 @@ The playbook returns the following interface facts:
207207
}
208208
209209
210-
Note that this returns a subset of what is returned by just setting ``gather_subset: interfaces``.
210+
Note that ``gather_network_resources`` renders configuration data as facts for all supported resources (interfaces, bgp, ospf, and so on), whereas, ``gather_subset`` is primarily used to fetch operational data.
211211

212212
You can store these facts and use them directly in another task, such as with the :ansplugin:`eos_interfaces <arista.eos.eos_interfaces#module>` resource module.

0 commit comments

Comments
 (0)