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
{{ message }}
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.
Different systems are not failing the ansible task when attempting to perform a command using sudo. We also hit an issue where sudo as a command doesn't even exist.
"Sorry, user htsvc is not allowed to execute '/bin/sh -c echo BECOME-SUCCESS-<value>; /usr/sbin/dmidecode -t 4 | grep 'Socket Designation'| wc -l' as root on 1.2.3.5."
"sh: sudo: not found"
Bug Report
Version of rho:
[ 0.28, 0.29 ]
Expected behavior:
Provide a more user friendly error for the output and appropriately adjust any dependent code to handle the sudo failure as a true failure.
Actual behavior:
Facts contain output information about sudo failure, but are also used in logical decisions further on in other playbooks.
May need to add stderr redirect to /dev/null for any sudo command (assuming theses are stderr outputs).
The text was updated successfully, but these errors were encountered:
Specify type:
Bug severity (if applicable):
Description:
Different systems are not failing the ansible task when attempting to perform a command using sudo. We also hit an issue where sudo as a command doesn't even exist.
"Sorry, user htsvc is not allowed to execute '/bin/sh -c echo BECOME-SUCCESS-<value>; /usr/sbin/dmidecode -t 4 | grep 'Socket Designation'| wc -l' as root on 1.2.3.5."
"sh: sudo: not found"
Bug Report
Version of rho:
[ 0.28, 0.29 ]
Expected behavior:
Provide a more user friendly error for the output and appropriately adjust any dependent code to handle the sudo failure as a true failure.
Actual behavior:
Facts contain output information about sudo failure, but are also used in logical decisions further on in other playbooks.
May need to add stderr redirect to /dev/null for any sudo command (assuming theses are stderr outputs).
The text was updated successfully, but these errors were encountered: