Correct link to plugins (#25530)

This commit is contained in:
John R Barker 2017-06-09 13:06:08 +01:00 committed by GitHub
commit 4e6fee212a

View file

@ -219,7 +219,7 @@ Playbook constructs like 'host_vars' and 'group_vars' work via 'vars' plugins.
data into ansible runs that did not come from an inventory, playbook, or command line. Note that variables data into ansible runs that did not come from an inventory, playbook, or command line. Note that variables
can also be returned from inventory, so in most cases, you won't need to write or understand vars_plugins. can also be returned from inventory, so in most cases, you won't need to write or understand vars_plugins.
More documentation on writing vars plugins is pending, though you can jump into `lib/ansible/inventory/vars_plugins <https://github.com/ansible/ansible/tree/devel/lib/ansible/inventory/vars_plugins>`_ and figure More documentation on writing vars plugins is pending, though you can jump into `lib/ansible/plugins <https://github.com/ansible/ansible/tree/devel/lib/ansible/plugins/>`_ and figure
things out pretty easily. things out pretty easily.
If you find yourself wanting to write a vars_plugin, it's more likely you should write an inventory script instead. If you find yourself wanting to write a vars_plugin, it's more likely you should write an inventory script instead.