mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Default -u (user) and "user:" in playbooks to the current user.
This commit is contained in:
parent
3587ffdef3
commit
deec50fc3c
2 changed files with 8 additions and 1 deletions
|
@ -37,6 +37,8 @@ class SSHConnection(object):
|
|||
def connect(self):
|
||||
''' connect to the remote host '''
|
||||
|
||||
vvv("ESTABLISH CONNECTION FOR USER: %s" % self.runner.remote_user, host=self.host)
|
||||
|
||||
self.common_args = []
|
||||
extra_args = os.getenv("ANSIBLE_SSH_ARGS", None)
|
||||
if extra_args is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue