You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_admin_can_execute_sudo_without_password(){
run_ansible
assert "grep 'admin ALL=(ALL) NOPASSWD: ALL' /etc/sudoers.d/admin" "admin is not sudoer"
}
optional message in assert method should print stderr on a new line.
admin is not sudoer grep: /etc/sudoers.d/admin: No such file or directory
instead of admin is not sudoergrep: /etc/sudoers.d/admin: No such file or directory
The text was updated successfully, but these errors were encountered:
@guillaumevincent for your eyes only I detailed the path to displaying stdout and stderr in assert, assert_fail and assert_status_code without repeating ourselves.
optional message in assert method should print stderr on a new line.
admin is not sudoer grep: /etc/sudoers.d/admin: No such file or directory
instead of
admin is not sudoergrep: /etc/sudoers.d/admin: No such file or directory
The text was updated successfully, but these errors were encountered: