mirror of
https://github.com/MatteZ02/infra.git
synced 2024-12-23 08:53:17 +00:00
40 lines
988 B
YAML
40 lines
988 B
YAML
---
|
|
- name: "Tasks"
|
|
hosts: all
|
|
module_defaults:
|
|
ansible.builtin.gather_facts:
|
|
gather_timeout: 10
|
|
|
|
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
|
|
|
|
- name: "Backup"
|
|
import_tasks: tasks/backup.yml
|
|
vars:
|
|
ansible_python_interpreter: "{{ ansible_facts.user_dir }}/.venv/ansible/bin/python3"
|
|
tags:
|
|
- backup
|
|
- never
|