From ede5e38715d600f37f8abc378f583dcb51783bd4 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 22 May 2017 17:39:33 -0400 Subject: [PATCH] Gather facts for run-bindep role Because we want to use the package task, we need to know facts about the host we are running on. Otherwise we get the following error: Could not detect which package manager to use. Try gathering facts or setting the "use" option. Change-Id: I069f4025403e301af08137c19da1e5b35e21798d Signed-off-by: Paul Belanger --- playbooks/tox/pre.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/tox/pre.yaml b/playbooks/tox/pre.yaml index 0bf9b3ce..2a3872f1 100644 --- a/playbooks/tox/pre.yaml +++ b/playbooks/tox/pre.yaml @@ -1,3 +1,5 @@ - hosts: all + gather_facts: true + gather_subset: "!all" roles: - run-bindep