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

21 lines
623 B
YAML
Raw Permalink Normal View History

2019-12-19 18:24:41 +00:00
- name: Download PrusaSlicer
get_url:
url: https://github.com/prusa3d/PrusaSlicer/releases/download/version_2.1.1/PrusaSlicer-2.1.1+linux64-201912101511.AppImage
dest: /usr/local/bin/PrusaSlicer
checksum: sha256:af374ce2f403c7ff1cc035fce218fc858fff359ae4572a033e068ae36a2145e9
mode: 0755
- name: Desktop entry for PrusaSlicer
copy:
src: PrusaSlicer.desktop
dest: /usr/share/applications/PrusaSlicer.desktop
mode: 0644
- name: Remove old Prusa files
file:
path: "{{ item }}"
state: absent
with_items:
- /usr/local/bin/slic3rpe
- /usr/share/applications/slic3rpe.desktop