18 lines
864 B
YAML
18 lines
864 B
YAML
---
|
|
- hosts: all
|
|
become: true
|
|
tasks:
|
|
- import_tasks: tasks/debian-general/repositories-bullseye.yml
|
|
when: ansible_facts["lsb"]["codename"] == "bullseye"
|
|
- import_tasks: tasks/debian-general/repositories-bookworm.yml
|
|
when: ansible_facts["lsb"]["codename"] == "bookworm"
|
|
- import_tasks: tasks/debian-general/upgrade.yml
|
|
- import_tasks: tasks/debian-general/gnupg2.yml
|
|
- import_tasks: tasks/powerdns-bullseye/gpg-key.yml
|
|
- import_tasks: tasks/powerdns-bullseye/repositories-authoritative-bullseye.yml
|
|
when: ansible_facts["lsb"]["codename"] == "bullseye"
|
|
- import_tasks: tasks/powerdns-bullseye/repositories-authoritative-bookworm.yml
|
|
when: ansible_facts["lsb"]["codename"] == "bookworm"
|
|
- import_tasks: tasks/debian-general/upgrade.yml
|
|
- import_tasks: tasks/powerdns-bullseye/powerdns-authoritative.yml
|