mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-29 19:50:25 -07:00
fix for psuedo-connection hostvars not propagating to connection
(mostly done by jimi-c, tested working)
This commit is contained in:
parent
04ce71b4bd
commit
ece1ed09d5
3 changed files with 8 additions and 10 deletions
|
@ -112,7 +112,7 @@ class ConnectionBase(with_metaclass(ABCMeta, object)):
|
|||
|
||||
raise AnsibleError("Internal Error: this connection module does not support running commands via %s" % self._play_context.become_method)
|
||||
|
||||
def set_host_overrides(self, host):
|
||||
def set_host_overrides(self, host, hostvars=None):
|
||||
'''
|
||||
An optional method, which can be used to set connection plugin parameters
|
||||
from variables set on the host (or groups to which the host belongs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue