From c3ce2eb169c1496ed65f40dec568e2bc12a2bf18 Mon Sep 17 00:00:00 2001 From: Roland Ramthun Date: Fri, 1 May 2015 10:01:56 +0200 Subject: [PATCH] disable ask on sync action --- lib/ansible/modules/extras/packaging/os/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/packaging/os/portage.py b/lib/ansible/modules/extras/packaging/os/portage.py index ab96cb22e6..eb77baa14f 100644 --- a/lib/ansible/modules/extras/packaging/os/portage.py +++ b/lib/ansible/modules/extras/packaging/os/portage.py @@ -231,7 +231,7 @@ def sync_repositories(module, webrsync=False): webrsync_path = module.get_bin_path('emerge-webrsync', required=True) cmd = '%s --quiet' % webrsync_path else: - cmd = '%s --sync --quiet' % module.emerge_path + cmd = '%s --sync --quiet --ask=n' % module.emerge_path rc, out, err = module.run_command(cmd) if rc != 0: