Skip to content

Commit

Permalink
bad hack to maybe fix some corner cases with pbrun custom prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoca committed Apr 14, 2015
1 parent d71834d commit d5a7cd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ansible/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1250,6 +1250,7 @@ def make_become_cmd(cmd, user, shell, method, flags=None, exe=None):
becomecmd = '%s %s %s -c "%s -c %s"' % (exe, flags, user, shell, pipes.quote('echo %s; %s' % (success_key, cmd)))

elif method == 'pbrun':
prompt = 'assword:'
exe = exe or 'pbrun'
flags = flags or ''
becomecmd = '%s -b -l %s -u %s "%s"' % (exe, flags, user, pipes.quote('echo %s; %s' % (success_key,cmd)))
Expand Down

0 comments on commit d5a7cd0

Please sign in to comment.