Skip to content

Commit

Permalink
ansible_mitogen: Handle templated ansible_ssh_user.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmkeyes committed Oct 8, 2024
1 parent 45ab534 commit 6053e1b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ansible_mitogen/transport_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def remote_addr(self):
return self._play_context.remote_addr

def remote_user(self):
return self._play_context.remote_user
return self._connection_option('remote_user')

def become(self):
return self._play_context.become
Expand Down
2 changes: 2 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ In Progress (unreleased)

* :gh:issue:`1138` CI: Complete migration from Azure DevOps Pipelines to
GitHub Actions
* :gh:issue:`1116` :mod: `ansible_mitogen`: Support for templated variable
`ansible_ssh_user`.


v0.3.11 (2024-10-07)
Expand Down
1 change: 1 addition & 0 deletions docs/contributors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ sponsorship and outstanding future-thinking of its early adopters.
<li>jgadling</li>
<li>John F Wall &mdash; <em>Making Ansible Great with Massive Parallelism</em></li>
<li><a href="https://github.com/jrosser">Jonathan Rosser</a></li>
<li><a href="https://github.com/jmkeyes">Joshua M. Keyes</a></li>
<li>KennethC</li>
<li><a href="https://github.com/lberruti">Luca Berruti</li>
<li>Lewis Bellwood &mdash; <em>Happy to be apart of a great project.</em></li>
Expand Down

0 comments on commit 6053e1b

Please sign in to comment.