Übernahme aus privaten Projekt.

This commit is contained in:
Olli Graf
2026-01-01 15:47:07 +01:00
parent da36d7ce1e
commit 83fa6e138b
20 changed files with 305 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
- name: /home/pi wiederherstellen
ansible.builtin.copy:
src: "{{ backup_host_dir }}/home/"
dest: /home/
remote_src: yes
mode: preserve
when: ansible_facts.lsb.codename == "trixie"
- name: Eigentümer für /home/pi korrigieren
file:
path: /home/pi
owner: pi
group: pi
recurse: yes
when: ansible_facts.lsb.codename == "trixie"