From 5bf06c87c4c638f101cd7772982c033edcfb7850 Mon Sep 17 00:00:00 2001 From: Larry Date: Mon, 13 Aug 2018 16:05:52 -0500 Subject: [PATCH] Update main.yml Better have the condition here, before the call to the import_tasks: setup-debian.yml --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index f9fd3d8..7e7400e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,5 +1,6 @@ --- - import_tasks: prerequisites/install-prerequisites.yml + when: ansible_os_family == "Debian" - import_tasks: keys/apt-key.yml when: ansible_os_family == "Debian"