diff --git a/group_vars/all.yml b/group_vars/all.yml index a9f9a8a7..50ff39ef 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -256,38 +256,6 @@ rsync_mirror_timer: '*-*-* 23:00:00' # jeden Tag um 2300 rsync_mirror_private_key: "{{ lookup('viczem.keepass.keepass', 'rsync_mirror_private_key', 'notes') }}" rsync_mirror_public_key: "{{ lookup('viczem.keepass.keepass', 'rsync_mirror_public_key', 'notes') }}" -rsync_mirror_dirs: # "/" beachten! -- src: /hdd_data/tmp - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp" -- src: hdd_data/archiv - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/archiv" -- src: hdd_data/backup - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/backup" -- src: hdd_data/bilder - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/bilder" -- src: hdd_data/buecher - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/buecher" -- src: hdd_data/music - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/music" -- src: hdd_data/papa_backup - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/papa_backup" -- src: hdd_data/programme - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/programme" -- src: hdd_data/pve_backup - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/pve_backup" -- src: hdd_data/restic - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/restic" -- src: hdd_data/scans - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/scans" -- src: hdd_data/tmp - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp" -- src: hdd_data/videos - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/videos" -- src: hdd_data/vm - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/vm" - - - # Ansible Variablen ### User ansible_user: "ansible-user" diff --git a/host_vars/pbs.mgrote.net.yml b/host_vars/pbs.mgrote.net.yml index 6684600d..762aaf50 100644 --- a/host_vars/pbs.mgrote.net.yml +++ b/host_vars/pbs.mgrote.net.yml @@ -88,7 +88,4 @@ sanoid_datasets: snapshots: true template: '3tage' - - - ## todo snap für dataset in backup aktivieren diff --git a/host_vars/pve5.mgrote.net.yml b/host_vars/pve5.mgrote.net.yml index 83b03548..a8f47106 100644 --- a/host_vars/pve5.mgrote.net.yml +++ b/host_vars/pve5.mgrote.net.yml @@ -234,31 +234,31 @@ pve_pbs_datastore: ### mgrote_sync rsync_mirror_dirs: # "/" beachten! -- src: /hdd_data/tmp - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp" -- src: hdd_data/archiv - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/archiv" -- src: hdd_data/backup - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/backup" -- src: hdd_data/bilder - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/bilder" -- src: hdd_data/buecher - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/buecher" -- src: hdd_data/music - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/music" -- src: hdd_data/papa_backup - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/papa_backup" -- src: hdd_data/programme - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/programme" -- src: hdd_data/pve_backup - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/pve_backup" -- src: hdd_data/restic - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/restic" -- src: hdd_data/scans - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/scans" -- src: hdd_data/tmp - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp" -- src: hdd_data/videos - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/videos" -- src: hdd_data/vm - dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/vm" + - src: /hdd_data/tmp + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp" + - src: hdd_data/archiv + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/archiv" + - src: hdd_data/backup + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/backup" + - src: hdd_data/bilder + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/bilder" + - src: hdd_data/buecher + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/buecher" + - src: hdd_data/music + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/music" + - src: hdd_data/papa_backup + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/papa_backup" + - src: hdd_data/programme + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/programme" + - src: hdd_data/pve_backup + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/pve_backup" + - src: hdd_data/restic + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/restic" + - src: hdd_data/scans + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/scans" + - src: hdd_data/tmp + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp" + - src: hdd_data/videos + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/videos" + - src: hdd_data/vm + dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/vm" diff --git a/roles/mgrote_rsync/defaults/main.yml b/roles/mgrote_rsync/defaults/main.yml index 8031a63a..6b3a704b 100644 --- a/roles/mgrote_rsync/defaults/main.yml +++ b/roles/mgrote_rsync/defaults/main.yml @@ -36,4 +36,3 @@ # dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/videos" # - src: hdd_data/vm # dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/vm" -# diff --git a/roles/mgrote_zfs_sanoid/tasks/snaps.yml b/roles/mgrote_zfs_sanoid/tasks/snaps.yml index e1fd4c12..47b3b049 100644 --- a/roles/mgrote_zfs_sanoid/tasks/snaps.yml +++ b/roles/mgrote_zfs_sanoid/tasks/snaps.yml @@ -30,7 +30,7 @@ notify: - systemctl daemon-reload -- name: add timer overrides +- name: add timer overrides become: true ansible.builtin.blockinfile: create: true