mirror of https://github.com/ansible/ansible.git
Fix regression: Sanitize sudo success_key from stdout
Commit 7e3dd10 caused a regression with sanitizing the sudo success_key from stdout.
There is no newline in front of SUDO-SUCCESS when using sudo.
This change adapts the regex to make the line break optional.
Tested on Ubuntu 14.04.
pull/8167/head
parent
616d749ab3
commit
0ebd19e97b
Loading…
Reference in New Issue