mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
self.su_user is done earlier in the code path, and is auto-vivified from
su_user_var. My last PR was only half merged, and when the bug fix for the su/su_pass typo was merged, the removed line in this commit was mistakenly reintroduced.
This commit is contained in:
parent
3ec043ec17
commit
aed2194b1d
1 changed files with 0 additions and 1 deletions
|
@ -632,7 +632,6 @@ class Runner(object):
|
||||||
actual_private_key_file = inject.get('ansible_ssh_private_key_file', self.private_key_file)
|
actual_private_key_file = inject.get('ansible_ssh_private_key_file', self.private_key_file)
|
||||||
self.sudo_pass = inject.get('ansible_sudo_pass', self.sudo_pass)
|
self.sudo_pass = inject.get('ansible_sudo_pass', self.sudo_pass)
|
||||||
self.su = inject.get('ansible_su', self.su)
|
self.su = inject.get('ansible_su', self.su)
|
||||||
self.su_user = inject.get('ansible_su_user', self.su_user)
|
|
||||||
self.su_pass = inject.get('ansible_su_pass', self.su_pass)
|
self.su_pass = inject.get('ansible_su_pass', self.su_pass)
|
||||||
|
|
||||||
if actual_private_key_file is not None:
|
if actual_private_key_file is not None:
|
||||||
|
|
Loading…
Reference in a new issue