ansible-desktop/roles/prusa-slicer/tasks/config-repository.yml

27 lines
586 B
YAML
Raw Normal View History

- name: checkout prusa profiles repo
git:
repo: "{{ prusa_slicer.repo }}"
dest: "{{ ansible_user_dir }}/.config/PrusaSlicer"
clone: yes
update: yes
- name: Install wrapper
become: yes
copy:
src: usr/local/bin/prusa-slicer.wrapper
dest: /usr/local/bin/prusa-slicer.wrapper
mode: '0755'
- name: clean link
become: yes
file:
path: "/usr/local/bin/prusa-slicer"
state: absent
- name: Create symbolic link to wrapper
become: yes
file:
src: "/usr/local/bin/prusa-slicer.wrapper"
dest: "/usr/local/bin/prusa-slicer"
state: link