update cv4pve autosnap role #20

Merged
mg merged 20 commits from cv4_update into master 2024-04-14 21:40:43 +02:00
6 changed files with 8 additions and 18 deletions
Showing only changes of commit 2aa163babf - Show all commits

View file

@ -28,7 +28,12 @@ users:
allow_sudo: true allow_sudo: true
allow_passwordless_sudo: true allow_passwordless_sudo: true
### cv4pve
### mgrote_cv4pve_autosnap
cv4pve_api_user: root@pam!cv4pve-autosnap
cv4pve_api_token: "{{ lookup('keepass', 'cv4pve_api_token', 'password') }}"
cv4pve_vmid: all,-115
cv4pve_keep_snapshots: 5
cv4pve_version: "v1.14.8" cv4pve_version: "v1.14.8"
### mgrote_apt_manage_packages ### mgrote_apt_manage_packages

View file

@ -153,13 +153,6 @@ sanoid_datasets:
snapshots: true snapshots: true
template: '3tage' template: '3tage'
### mgrote_cv4pve-autosnap
cv4pve_api_user: root@pam!cv4pve-autosnap
cv4pve_api_token: "{{ lookup('keepass', 'cv4pve_api_token', 'password') }}"
cv4pve_vmid: all
cv4pve_keep_snapshots: 5
cv4pve_dl_link: "https://github.com/Corsinvest/cv4pve-autosnap/releases/download/v1.10.0/cv4pve-autosnap-linux-x64.zip"
### mgrote_proxmox_bind_mounts ### mgrote_proxmox_bind_mounts
pve_bind_mounts: pve_bind_mounts:
- vmid: 100 - vmid: 100

View file

@ -170,13 +170,6 @@ sanoid_datasets:
snapshots: true snapshots: true
template: 'pve3tage' template: 'pve3tage'
### mgrote_cv4pve-autosnap
cv4pve_api_user: root@pam!cv4pve-autosnap
cv4pve_api_token: "{{ lookup('keepass', 'cv4pve_api_token', 'password') }}"
cv4pve_vmid: all,-115
cv4pve_keep_snapshots: 5
cv4pve_dl_link: "https://github.com/Corsinvest/cv4pve-autosnap/releases/download/v1.14.7/cv4pve-autosnap-linux-x64.zip"
### mgrote_proxmox_bind_mounts ### mgrote_proxmox_bind_mounts
pve_bind_mounts: pve_bind_mounts:
### fileserver3 ### fileserver3

View file

@ -3,7 +3,7 @@
cv4pve_cron_minute: "39" cv4pve_cron_minute: "39"
cv4pve_cron_hour: "5" cv4pve_cron_hour: "5"
# proxmox api-token and user # proxmox api-token and user
cv4pve_api_token: "XXXXXXXXXXXXXXXXXXXXXX" cv4pve_api_token: "supersecret"
cv4pve_api_user: "root@pam!test2" cv4pve_api_user: "root@pam!test2"
# which vm to snapshot # which vm to snapshot
cv4pve_vmid: all cv4pve_vmid: all

View file

@ -10,6 +10,4 @@
... ...
# permissions
#linter #linter
# varioablen

View file

@ -17,3 +17,4 @@
when: when:
- cv4pve_user_group is defined - cv4pve_user_group is defined
- cv4pve_user is defined - cv4pve_user is defined
...