mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Also make sure remote_user is defaulted correctly for delegated hosts
Fixes #13323
This commit is contained in:
parent
e2ddc2f6ab
commit
dc0fae1af7
2 changed files with 10 additions and 0 deletions
|
@ -91,6 +91,7 @@ class TestPlayContext(unittest.TestCase):
|
|||
mock_task.become_user = 'mocktaskroot'
|
||||
mock_task.become_pass = 'mocktaskpass'
|
||||
mock_task._local_action = False
|
||||
mock_task.delegate_to = None
|
||||
|
||||
all_vars = dict(
|
||||
ansible_connection = 'mock_inventory',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue