Merge pull request #175 from wezm/become-pass

Use become_pass for sudo password
pull/180/head
dw 7 years ago committed by GitHub
commit f440e88f2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -198,7 +198,7 @@ class Connection(ansible.plugins.connection.ConnectionBase):
cast({
'method': 'sudo',
'username': self._play_context.become_user,
'password': self._play_context.password,
'password': self._play_context.become_pass,
'python_path': python_path or self.python_path,
'sudo_path': self.sudo_path,
'connect_timeout': self._play_context.timeout,

Loading…
Cancel
Save