ansible-hacklab-desktop/roles/cura/tasks/main.yml
2018-11-21 21:34:56 +00:00

24 lines
677 B
YAML

- name: Download Cura 3
get_url:
url: http://software.ultimaker.com/current/Cura-3.5.1.AppImage
dest: /usr/local/bin/Cura-3
checksum: sha256:e9cf422c6bc78634d5bc6da733ad617afa6860a6d45e4b97a92dcbd2c91486fe
mode: 0755
- name: Desktop entry for Cura 3
copy:
src: cura3.desktop
dest: /usr/share/applications/cura3.desktop
mode: 0644
- name: Remove old Cura files
file:
path: /usr/share/applications/{{ item }}.desktop
state: absent
with_items:
- /usr/local/bin/Cura
#- /usr/local/bin/Cura-2
- /usr/share/applications/cura.desktop
#- /usr/share/applications/cura2.desktop
- /usr/share/applications/cura-3.1.desktop