More rework

This commit is contained in:
Mark Janssen 2024-07-11 21:12:19 +02:00
parent ca3a42d2c6
commit b210abc77e
15 changed files with 19 additions and 3 deletions

View file

@ -1,4 +1,5 @@
--- ---
- hosts: bank - hosts: bank
roles: roles:
- common - common

View file

@ -1,4 +1,5 @@
--- ---
- hosts: bank-pi.bitlair.nl - hosts: bank-pi.bitlair.nl
vars: vars:
raspi_rotate_display: "2" raspi_rotate_display: "2"

View file

@ -1,4 +1,5 @@
--- ---
- hosts: debian - hosts: debian
roles: roles:
- common - common

View file

@ -1,4 +1,5 @@
--- ---
- hosts: fotos - hosts: fotos
roles: roles:
- common - common

View file

@ -1,4 +1,5 @@
--- ---
- hosts: git-ci - hosts: git-ci
roles: roles:
- common - common

View file

@ -1,4 +1,5 @@
--- ---
- hosts: git - hosts: git
roles: roles:
- common - common

View file

@ -1,4 +1,5 @@
--- ---
- hosts: monitoring - hosts: monitoring
roles: roles:
- common - common

View file

@ -1,4 +1,5 @@
--- ---
- hosts: mqtt_internal - hosts: mqtt_internal
roles: roles:
- common - common

View file

@ -1,4 +1,5 @@
--- ---
- hosts: music - hosts: music
roles: roles:
- common - common

View file

@ -1,4 +1,5 @@
--- ---
- hosts: pad - hosts: pad
vars: vars:
acme_san_domains: acme_san_domains:

View file

@ -1,8 +1,8 @@
--- ---
- name: Update authorized_keys - name: Update authorized_keys
tags: authorized_keys
ansible.builtin.template: ansible.builtin.template:
src: authorized_keys.j2 src: authorized_keys.j2
dest: /root/.ssh/authorized_keys dest: /root/.ssh/authorized_keys
mode: 0600 mode: 0600
when: root_access is defined and root_access when: root_access is defined and root_access
tags: authorized_keys

View file

@ -1,13 +1,17 @@
--- ---
- tags: [ debian-upgrade, never ]
- name: Import debian-upgrade.yaml if not bookworm
ansible.builtin.import_tasks: ansible.builtin.import_tasks:
file: debian-upgrade.yaml file: debian-upgrade.yaml
when: ansible_facts['distribution_release'] != "bookworm" when: ansible_facts['distribution_release'] != "bookworm"
tags: [ debian-upgrade, never ]
- tags: debian_backports - name: Import debian-backports.yaml
ansible.builtin.import_tasks: ansible.builtin.import_tasks:
file: debian-backports.yaml file: debian-backports.yaml
tags: debian_backports
- tags: unattended_updates - tags: unattended_updates
ansible.builtin.import_tasks: ansible.builtin.import_tasks:
file: unattended-updates.yaml file: unattended-updates.yaml

View file

@ -1,4 +1,5 @@
--- ---
- hosts: services - hosts: services
roles: roles:
- common - common

View file

@ -1,4 +1,5 @@
--- ---
- hosts: wiki - hosts: wiki
roles: roles:
- common - common