From 19c55d86f414d9fb8be08d62dab5f0298bf7e168 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Sat, 19 Nov 2022 11:22:54 +0200 Subject: [PATCH] fix distro fact --- tasks/docker/core.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/docker/core.yml b/tasks/docker/core.yml index 2f8175b..07ded67 100644 --- a/tasks/docker/core.yml +++ b/tasks/docker/core.yml @@ -1,7 +1,7 @@ --- - import_tasks: ubuntu.yml - when: ansible_facts["os"]["name"] == "Ubuntu" + when: ansible_facts['distribution'] == 'Ubuntu' - name: Install docker-compose get_url: