Merge "Make ansible ask for sudo password"
This commit is contained in:
commit
c081db93b3
@ -242,8 +242,7 @@ def check_for_root():
|
||||
'[ $(whoami) == root ] || sudo --non-interactive true',
|
||||
shell=True, stderr=subprocess.DEVNULL)
|
||||
except subprocess.CalledProcessError:
|
||||
# TODO(dtantsur): tell ansible to ask for password
|
||||
sys.exit('Sudo without password is required for Bifrost')
|
||||
COMMON_PARAMS.append('--ask-become-pass')
|
||||
|
||||
|
||||
def main():
|
||||
|
Loading…
x
Reference in New Issue
Block a user