Use become_pass for sudo password

pull/175/head
Wesley Moore 7 years ago
parent 682a4ca8d4
commit 3d5bbb9a63

@ -198,7 +198,7 @@ class Connection(ansible.plugins.connection.ConnectionBase):
cast({ cast({
'method': 'sudo', 'method': 'sudo',
'username': self._play_context.become_user, '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, 'python_path': python_path or self.python_path,
'sudo_path': self.sudo_path, 'sudo_path': self.sudo_path,
'connect_timeout': self._play_context.timeout, 'connect_timeout': self._play_context.timeout,

Loading…
Cancel
Save