mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Also make sure remote_user is defaulted correctly for delegated hosts
Fixes #13323
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user