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