Skip to content

Commit

Permalink
fix: allow ansible_user and become_user to be templates #1083
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and moreati committed Oct 14, 2024
1 parent 3b2b03b commit a98ee83
Show file tree
Hide file tree
Showing 2 changed files with 3 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 @@ -443,7 +443,7 @@ def become_method(self):
return self._play_context.become_method

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

def become_pass(self):
# become_pass is owned/provided by the active become plugin. However
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:`1159` CI: Reduce number of Jobs by parameterizing Mitogen Docker
SSH tests
* :gh:issue:`1083` fix: Jinja expressions are not evaluated in (not only)
credential variables.


v0.3.13 (2024-10-09)
Expand Down

0 comments on commit a98ee83

Please sign in to comment.