Make sure portage doesn't ask for confirmation
If EMERGE_DEFAULT_OPTS in make.conf(5) contains '--ask' then the portage module doesn't work correctly, this commit fixes that
This commit is contained in:
parent
19e688b017
commit
926194f75d
1 changed files with 1 additions and 0 deletions
|
@ -335,6 +335,7 @@ def cleanup_packages(module, packages):
|
|||
def run_emerge(module, packages, *args):
|
||||
args = list(args)
|
||||
|
||||
args.append('--ask=n')
|
||||
if module.check_mode:
|
||||
args.append('--pretend')
|
||||
|
||||
|
|
Loading…
Reference in a new issue