mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
inventory plugins: add test about config API usage (#41888)
* Check get_option method works with inventory plugins This use case is already tested by some cloud inventoty plugin but these tests are slow and aren't always executed, hence this new quick test. * AnsiblePlugin: Fix typo in docstring
This commit is contained in:
@@ -67,7 +67,7 @@ class AnsiblePlugin(with_metaclass(ABCMeta, object)):
|
||||
Sets the _options attribute with the configuration/keyword information for this plugin
|
||||
|
||||
:arg task_keys: Dict with playbook keywords that affect this option
|
||||
:arg var_options: Dict with either 'conneciton variables'
|
||||
:arg var_options: Dict with either 'connection variables'
|
||||
:arg direct: Dict with 'direct assignment'
|
||||
'''
|
||||
self._options = C.config.get_plugin_options(get_plugin_class(self), self._load_name, keys=task_keys, variables=var_options, direct=direct)
|
||||
|
||||
Reference in New Issue
Block a user