updated nextcloud_desktop state

This commit is contained in:
Paul 2020-09-12 17:14:57 +02:00
parent aee853fec7
commit ba6547999b

View File

@ -1,7 +1,7 @@
--- ---
{%- from "nextcloud_desktop/map.jinja" import nextcloud_desktop with context %} {%- from "nextcloud_desktop/map.jinja" import nextcloud_desktop with context %}
nextcloud-appimage: nextcloud-desktop-appimage:
file.managed: file.managed:
- name: {{ nextcloud_desktop.dest_path }} - name: {{ nextcloud_desktop.dest_path }}
- source: {{ nextcloud_desktop.url }}/Nextcloud-{{ nextcloud_desktop.version }}-x86_64.AppImage - source: {{ nextcloud_desktop.url }}/Nextcloud-{{ nextcloud_desktop.version }}-x86_64.AppImage
@ -9,13 +9,15 @@ nextcloud-appimage:
- user: root - user: root
- group: root - group: root
- mode: 755 - mode: 755
- if_missing: {{ nextcloud_desktop.dest_path }}-{{ netxcloud.version }} - if_missing: {{ nextcloud_desktop.dest_path }}-{{ nextcloud_desktop.version }}
nextcloud-install-link: nextcloud-desktop-install-link:
file.symlink: file.symlink:
- name: {{ nextcloud_desktop.dest_path }} - name: {{ nextcloud_desktop.dest_path }}
- target: {{ nextcloud_desktop.dest_path }}/{{ nextcloud.version }} - target: {{ nextcloud_desktop.dest_path }}/{{ nextcloud_desktop.version }}
- force: True - force: True
- watch:
- file: nextcloud-desktop-appimage
nextcloud-desktop-icon: nextcloud-desktop-icon:
file.managed: file.managed: