ansible-hacklab-desktop/roles/cura/tasks/main.yml

24 lines
677 B
YAML
Raw Permalink Normal View History

2018-06-02 22:03:27 +00:00
- name: Download Cura 3
get_url:
2018-10-25 18:12:07 +00:00
url: http://software.ultimaker.com/current/Cura-3.5.1.AppImage
2018-06-02 22:03:27 +00:00
dest: /usr/local/bin/Cura-3
2018-10-25 18:12:07 +00:00
checksum: sha256:e9cf422c6bc78634d5bc6da733ad617afa6860a6d45e4b97a92dcbd2c91486fe
2018-06-02 22:03:27 +00:00
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
2018-11-21 21:34:56 +00:00
#- /usr/local/bin/Cura-2
2018-06-02 22:03:27 +00:00
- /usr/share/applications/cura.desktop
2018-11-21 21:34:56 +00:00
#- /usr/share/applications/cura2.desktop
2018-06-02 22:03:27 +00:00
- /usr/share/applications/cura-3.1.desktop