update cv4pve autosnap role #20

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

View file

@ -29,7 +29,7 @@ users:
allow_passwordless_sudo: true
### cv4pve
cv4pve_version: "v1.14.8"
cv4pve_version: "v1.14.7"
### mgrote_apt_manage_packages
apt_packages_extra:

View file

@ -4,14 +4,11 @@
- name: create directories
ansible.builtin.file:
path: "{{ item }}"
path: "/usr/local/bin/cv4pve/"
state: directory
owner: "{{ cv4pve_user }}"
group: "{{ cv4pve_user_group }}"
mode: "0644"
loop:
- "/usr/local/bin/cv4pve-{{ cv4pve_version }}/"
- /usr/local/bin/cv4pve/
- name: download archives
ansible.builtin.unarchive:

View file

@ -6,4 +6,4 @@ OnFailure=cv4pve_mail.service
[Service]
Type=simple
ExecStart=/usr/local/bin/cv4pve-{{ cv4pve_version }}/cv4pve-autosnap --host=127.0.0.1 --api-token {{ cv4pve_api_user }}={{ cv4pve_api_token }} --vmid="{{ cv4pve_vmid }}" snap --label='daily' --keep="{{ cv4pve_keep_snapshots }}" --state
ExecStart=/usr/local/bin/cv4pve/cv4pve-autosnap-{{ cv4pve_version }} --host=127.0.0.1 --api-token {{ cv4pve_api_user }}={{ cv4pve_api_token }} --vmid="{{ cv4pve_vmid }}" snap --label='daily' --keep="{{ cv4pve_keep_snapshots }}" --state