Tasks Update: Adding interpreter to all tasks

This commit is contained in:
Christer Warén 2024-12-16 14:21:46 +02:00
parent 45edbeead4
commit 2c3303ac1c

View File

@ -8,18 +8,24 @@
tasks: tasks:
- name: "Installer" - name: "Installer"
import_tasks: tasks/installer.yml import_tasks: tasks/installer.yml
vars:
ansible_python_interpreter: "{{ ansible_facts.user_dir }}/.venv/ansible/bin/python3"
tags: tags:
- installer - installer
- never - never
- name: "Maintenance" - name: "Maintenance"
import_tasks: tasks/maintenance.yml import_tasks: tasks/maintenance.yml
vars:
ansible_python_interpreter: "{{ ansible_facts.user_dir }}/.venv/ansible/bin/python3"
tags: tags:
- maintenance - maintenance
- never - never
- name: "Deployer" - name: "Deployer"
import_tasks: tasks/deployer.yml import_tasks: tasks/deployer.yml
vars:
ansible_python_interpreter: "{{ ansible_facts.user_dir }}/.venv/ansible/bin/python3"
tags: tags:
- deployer - deployer
- never - never