sdfg
All checks were successful
ansible-lint / gitleaks (pull_request) Successful in 2s
ansible-lint / Ansible Lint (pull_request) Successful in 24s

This commit is contained in:
Michael Grote 2024-10-29 14:59:17 +01:00
parent e3c0aec81c
commit 39e27e5941
5 changed files with 29 additions and 65 deletions

View file

@ -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_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_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 # Ansible Variablen
### User ### User
ansible_user: "ansible-user" ansible_user: "ansible-user"

View file

@ -88,7 +88,4 @@ sanoid_datasets:
snapshots: true snapshots: true
template: '3tage' template: '3tage'
## todo snap für dataset in backup aktivieren ## todo snap für dataset in backup aktivieren

View file

@ -234,31 +234,31 @@ pve_pbs_datastore:
### mgrote_sync ### mgrote_sync
rsync_mirror_dirs: # "/" beachten! rsync_mirror_dirs: # "/" beachten!
- src: /hdd_data/tmp - src: /hdd_data/tmp
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp"
- src: hdd_data/archiv - src: hdd_data/archiv
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/archiv" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/archiv"
- src: hdd_data/backup - src: hdd_data/backup
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/backup" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/backup"
- src: hdd_data/bilder - src: hdd_data/bilder
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/bilder" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/bilder"
- src: hdd_data/buecher - src: hdd_data/buecher
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/buecher" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/buecher"
- src: hdd_data/music - src: hdd_data/music
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/music" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/music"
- src: hdd_data/papa_backup - src: hdd_data/papa_backup
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/papa_backup" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/papa_backup"
- src: hdd_data/programme - src: hdd_data/programme
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/programme" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/programme"
- src: hdd_data/pve_backup - src: hdd_data/pve_backup
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/pve_backup" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/pve_backup"
- src: hdd_data/restic - src: hdd_data/restic
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/restic" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/restic"
- src: hdd_data/scans - src: hdd_data/scans
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/scans" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/scans"
- src: hdd_data/tmp - src: hdd_data/tmp
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/tmp"
- src: hdd_data/videos - src: hdd_data/videos
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/videos" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/videos"
- src: hdd_data/vm - src: hdd_data/vm
dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/vm" dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/vm"

View file

@ -36,4 +36,3 @@
# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/videos" # dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/videos"
# - src: hdd_data/vm # - src: hdd_data/vm
# dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/vm" # dest: "{{ rsync_mirror_user }}@pbs.mgrote.net:/backup/pve5/vm"
#

View file

@ -30,7 +30,7 @@
notify: notify:
- systemctl daemon-reload - systemctl daemon-reload
- name: add timer overrides - name: add timer overrides
become: true become: true
ansible.builtin.blockinfile: ansible.builtin.blockinfile:
create: true create: true