update cv4pve autosnap role #20
2 changed files with 2 additions and 5 deletions
|
@ -14,12 +14,12 @@
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
owner: "{{ cv4pve_user }}"
|
owner: "{{ cv4pve_user }}"
|
||||||
group: "{{ cv4pve_user_group }}"
|
group: "{{ cv4pve_user_group }}"
|
||||||
remote_src: yes
|
remote_src: true
|
||||||
creates: "{{ cv4pve_base_path }}/cv4pve-autosnap-{{ cv4pve_version }}"
|
creates: "{{ cv4pve_base_path }}/cv4pve-autosnap-{{ cv4pve_version }}"
|
||||||
list_files: true
|
list_files: true
|
||||||
register: download
|
register: download
|
||||||
|
|
||||||
- name: Rename binary
|
- name: Rename binary # noq no-changed-when no-handler
|
||||||
ansible.builtin.command: |
|
ansible.builtin.command: |
|
||||||
mv "{{ cv4pve_base_path }}/cv4pve-autosnap" "{{ cv4pve_base_path }}/cv4pve-autosnap-{{ cv4pve_version }}"
|
mv "{{ cv4pve_base_path }}/cv4pve-autosnap" "{{ cv4pve_base_path }}/cv4pve-autosnap-{{ cv4pve_version }}"
|
||||||
when: download.changed
|
when: download.changed
|
||||||
|
|
|
@ -8,6 +8,3 @@
|
||||||
- name: include systemd tasks
|
- name: include systemd tasks
|
||||||
ansible.builtin.include_tasks: systemd.yml
|
ansible.builtin.include_tasks: systemd.yml
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
#linter
|
|
||||||
|
|
Loading…
Reference in a new issue