--- {%- from "nextcloud_desktop/map.jinja" import nextcloud_desktop with context %} nextcloud-appimage: file.managed: - name: {{ nextcloud_desktop.dest_path }} - source: {{ nextcloud_desktop.url }}/Nextcloud-{{ nextcloud_desktop.version }}-x86_64.AppImage - skip_verify: True - user: root - group: root - mode: 755 - if_missing: {{ nextcloud_desktop.dest_path }}-{{ netxcloud.version }} nextcloud-install-link: file.symlink: - name: {{ nextcloud_desktop.dest_path }} - target: {{ nextcloud_desktop.dest_path }}/{{ nextcloud.version }} - force: True nextcloud-desktop-icon: file.managed: - name: /usr/share/icons/nextcloud.png - source: salt://nextcloud_desktop/nextcloud.png - user: root - group: root - mode: 644 nextcloud-desktop-icon-entry: file.managed: - name: /usr/share/applications/nextcloud.desktop - source: salt://nextcloud_desktop/nextcloud.desktop - user: root - group: root - mode: 644