This commit is contained in:
Michael Grote 2024-04-02 21:23:50 +02:00
parent 358ec097da
commit 255edc8c8d
8 changed files with 3 additions and 47 deletions

View file

@ -20,29 +20,6 @@ dotfiles_vim_vundle_repo_url: https://git.mgrote.net/mirrors/Vundle.vim.git
### mgrote_netplan ### mgrote_netplan
netplan_configure: true netplan_configure: true
### mgrote_restic
restic_user: root
restic_group: restic
restic_conf_dir: /etc/restic
restic_exclude: |
._*
desktop.ini
.Trash-*
**/**cache***/**
**/**Cache***/**
**/**AppData***/**
# https://github.com/restic/restic/issues/1005
# https://forum.restic.net/t/exclude-syntax-confusion/1531/12
restic_mount_timeout: "10 min"
restic_failure_delay: "30 s"
restic_schedule: "0/6:00" # alle 6 Stunden
restic_folders_to_backup: "/" # --one-file-system ist gesetzt, also werden weitere Dateisysteme nicht eingeschlossen, es sei denn sie werden hier explizit angegeben; https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files
restic_repository: "//fileserver3.mgrote.net/restic"
restic_repository_password: "{{ lookup('keepass', 'restic_repository_password', 'password') }}"
restic_mount_user: restic
restic_mount_password: "{{ lookup('keepass', 'fileserver_smb_user_restic', 'password') }}"
restic_fail_mail: "{{ my_mail }}"
### mgrote_user ### mgrote_user
users: users:
- username: mg - username: mg

View file

@ -87,9 +87,6 @@ blocky_custom_lookups: # optional
- name: fritz.box - name: fritz.box
ip: 192.168.5.1 ip: 192.168.5.1
### mgrote_restic
restic_repository: "//192.168.2.54/restic"
### mgrote_munin_node ### mgrote_munin_node
# kann git.mgrote.net nicht auflösen, deshalb hiermit IP # kann git.mgrote.net nicht auflösen, deshalb hiermit IP
munin_node_plugins: munin_node_plugins:

View file

@ -15,9 +15,6 @@ lvm_groups:
manage_lvm: true manage_lvm: true
pvresize_to_max: true pvresize_to_max: true
### mgrote_restic
restic_folders_to_backup: "/ /var/lib/docker" # --one-file-system ist gesetzt, also werden weitere Dateisysteme nicht eingeschlossen, es sei denn sie werden hier explizit angegeben; https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files
### geerlingguy.pip ### geerlingguy.pip
pip_package: python3-pip pip_package: python3-pip
pip_install_packages: pip_install_packages:

View file

@ -5,9 +5,6 @@ netplan_configure: false
### mgrote_postfix ### mgrote_postfix
postfix_erlaubte_netzwerke: "127.0.0.0/8 192.168.2.0/24 192.168.3.0/24" postfix_erlaubte_netzwerke: "127.0.0.0/8 192.168.2.0/24 192.168.3.0/24"
### mgrote_restic
restic_folders_to_backup: "/ /etc/proxmox-backup"
### mgrote_user ### mgrote_user
users: users:
- username: root - username: root

View file

@ -2,9 +2,6 @@
### mgrote_netplan ### mgrote_netplan
netplan_configure: false netplan_configure: false
### mgrote_restic
restic_folders_to_backup: "/ /etc/pve"
### mgrote_user ### mgrote_user
users: users:
- username: root - username: root

View file

@ -29,9 +29,6 @@ cifs_mounts:
gid: 5000 gid: 5000
extra_opts: ",ro" # komma am Anfang ist notwendig weil die Option hinten angehangen wird extra_opts: ",ro" # komma am Anfang ist notwendig weil die Option hinten angehangen wird
### mgrote_restic
restic_folders_to_backup: "/ /var/lib/docker /mnt/oci-registry" # --one-file-system ist gesetzt, also werden weitere Dateisysteme nicht eingeschlossen, es sei denn sie werden hier explizit angegeben
### mgrote_docker-compose-inline ### mgrote_docker-compose-inline
compose_owner: "docker-user" compose_owner: "docker-user"
compose_group: "docker-user" compose_group: "docker-user"

View file

@ -1,23 +1,20 @@
--- ---
### mrlesmithjr.ansible-manage-lvm ### mrlesmithjr.ansible-manage-lvm
lvm_groups: lvm_groups:
- vgname: vg_gitea_data - vgname: vg_data
disks: disks:
- /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1 - /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1
create: true create: true
lvnames: lvnames:
- lvname: lv_gitea_data - lvname: lv_data
size: +100%FREE size: +100%FREE
create: true create: true
filesystem: xfs filesystem: xfs
mount: true mount: true
mntp: /var/lib/gitea mntp: /var/lib/forgejo
manage_lvm: true manage_lvm: true
pvresize_to_max: true pvresize_to_max: true
### mgrote_restic
restic_folders_to_backup: "/ /var/lib/gitea" # --one-file-system ist gesetzt, also werden weitere Dateisysteme nicht eingeschlossen, es sei denn sie werden hier explizit angegeben; https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files
### mgrote_apt_manage_packages ### mgrote_apt_manage_packages
apt_packages_extra: apt_packages_extra:
- fail2ban - fail2ban

View file

@ -15,9 +15,6 @@ lvm_groups:
manage_lvm: true manage_lvm: true
pvresize_to_max: true pvresize_to_max: true
### mgrote_restic
restic_folders_to_backup: "/ /var/lib/gitea" # --one-file-system ist gesetzt, also werden weitere Dateisysteme nicht eingeschlossen, es sei denn sie werden hier explizit angegeben; https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files
### mgrote_apt_manage_packages ### mgrote_apt_manage_packages
apt_packages_extra: apt_packages_extra:
- fail2ban - fail2ban