-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhobbies.yml
47 lines (42 loc) · 1.36 KB
/
hobbies.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
- name: Install system packages
apt:
name:
# Video playback dependencies of OrcaSlicer
- gstreamer1.0-libav
- gstreamer1.0-plugins-bad
- kicad
# https://github.com/andornaut/splinter-keyboard/?tab=readme-ov-file#fix-error-when-running-npm-run-build
- libocct-modeling-algorithms-7.6t64
state: latest
update_cache: yes
become: true
- name: Install Kicad apt respository
apt_repository:
repo: ppa:kicad/kicad-8.0-releases
update_cache: yes
become: true
- name: Install kikit from PyPI
pip:
name:
- kikit
extra_args: "--break-system-packages"
become: true
- name: Get the latest version of OrcaSlicer
uri:
url: https://api.github.com/repos/SoftFever/OrcaSlicer/releases/latest
return_content: yes
register: orcaslicer_version
- name: Download OrcaSlicer
get_url:
url: "https://github.com/SoftFever/OrcaSlicer/releases/download/{{ orcaslicer_version.json.tag_name }}/OrcaSlicer_Linux_{{ orcaslicer_version.json.tag_name }}.AppImage"
dest: "/usr/local/bin/OrcaSlicer"
force: true # TODO: This will force the upgrade, but we should check if the latest is already installed
become: true
- name: Change file ownership, group and permissions of OrcaSlicer
ansible.builtin.file:
path: "/usr/local/bin/OrcaSlicer"
owner: root
group: root
mode: "0755"
become: true