From efc34c4accd13a516dd1c62f63f6688eee475590 Mon Sep 17 00:00:00 2001 From: Albin Vass Date: Mon, 25 May 2020 20:45:47 +0200 Subject: [PATCH] ensure-virtualenv: update include to inlude_tasks Change-Id: I3b50e3222200516921568464ad5e2f2655ce925b --- roles/ensure-virtualenv/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ensure-virtualenv/tasks/main.yaml b/roles/ensure-virtualenv/tasks/main.yaml index 282c960aa..aaa4e43ac 100644 --- a/roles/ensure-virtualenv/tasks/main.yaml +++ b/roles/ensure-virtualenv/tasks/main.yaml @@ -7,7 +7,7 @@ failed_when: false - name: Install virtualenv package - include: "{{ zj_distro_os }}" + include_tasks: "{{ zj_distro_os }}" with_first_found: - "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml" - "{{ ansible_distribution_release }}.yaml"