2022-09-11 19:11:08 +02:00
|
|
|
---
|
|
|
|
|
- hosts: all
|
|
|
|
|
become: true
|
|
|
|
|
tasks:
|
|
|
|
|
- name: Import related variables
|
|
|
|
|
ansible.builtin.include_vars:
|
|
|
|
|
file: debian-to-pve.yml
|
|
|
|
|
- import_tasks: tasks/debian-general/hostname.yml
|
|
|
|
|
- import_tasks: tasks/debian-general/hosts-file.yml
|
|
|
|
|
- import_tasks: tasks/debian-general/repositories-bullseye.yml
|
2026-01-05 23:11:28 +01:00
|
|
|
when: ansible_facts["lsb"]["codename"] == "bullseye"
|
2024-03-26 19:50:25 +01:00
|
|
|
- import_tasks: tasks/debian-general/repositories-bookworm.yml
|
2026-01-05 23:11:28 +01:00
|
|
|
when: ansible_facts["lsb"]["codename"] == "bookworm"
|
2025-10-16 15:46:03 +02:00
|
|
|
- import_tasks: tasks/debian-general/repositories-trixie.yml
|
2026-01-05 23:11:28 +01:00
|
|
|
when: ansible_facts["lsb"]["codename"] == "trixie"
|
2022-09-11 19:11:08 +02:00
|
|
|
- import_tasks: tasks/debian-to-pve/repositories.yml
|
|
|
|
|
- import_tasks: tasks/debian-to-pve/pve-server.yml
|