fixed up get_options in AnsiblePlugin to use the correct plugin name
This commit is contained in:
parent
1ee511f82c
commit
23f8833e87
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class AnsiblePlugin(with_metaclass(ABCMeta, object)):
|
|||
|
||||
def get_option(self, option, hostvars=None):
|
||||
if option not in self._options:
|
||||
option_value = C.config.get_config_value(option, plugin_type=get_plugin_class(self), plugin_name=self.name, variables=hostvars)
|
||||
option_value = C.config.get_config_value(option, plugin_type=get_plugin_class(self), plugin_name=self._load_name, variables=hostvars)
|
||||
self.set_option(option, option_value)
|
||||
return self._options.get(option)
|
||||
|
||||
|
|
Loading…
Reference in a new issue