From 2c3303ac1cc7d390d9d00e69a7e264581d5399f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Mon, 16 Dec 2024 14:21:46 +0200 Subject: [PATCH] Tasks Update: Adding interpreter to all tasks --- tasks.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks.yml b/tasks.yml index 62bee9d..c7306ce 100644 --- a/tasks.yml +++ b/tasks.yml @@ -8,18 +8,24 @@ tasks: - name: "Installer" import_tasks: tasks/installer.yml + vars: + ansible_python_interpreter: "{{ ansible_facts.user_dir }}/.venv/ansible/bin/python3" tags: - installer - never - name: "Maintenance" import_tasks: tasks/maintenance.yml + vars: + ansible_python_interpreter: "{{ ansible_facts.user_dir }}/.venv/ansible/bin/python3" tags: - maintenance - never - name: "Deployer" import_tasks: tasks/deployer.yml + vars: + ansible_python_interpreter: "{{ ansible_facts.user_dir }}/.venv/ansible/bin/python3" tags: - deployer - never