Skip to content

Commit

Permalink
fix: allow ansible_user and become_user to be templates mitogen-hq#1083
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Oct 8, 2024
1 parent fb76f2e commit bc82bd2
Showing 1 changed file with 1 addition 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

0 comments on commit bc82bd2

Please sign in to comment.