Compare commits
3 commits
be124761d4
...
5b4c260327
Author | SHA1 | Date | |
---|---|---|---|
5b4c260327 | |||
ed354d64b3 | |||
b90c6b3ab4 |
3 changed files with 5 additions and 14 deletions
|
@ -18,6 +18,10 @@
|
|||
clone: yes
|
||||
update: yes
|
||||
|
||||
- name: create bin dir
|
||||
file:
|
||||
path: ~/bin
|
||||
|
||||
- name: install
|
||||
make:
|
||||
target: install
|
||||
|
|
|
@ -4,10 +4,6 @@
|
|||
ansible.builtin.package_facts:
|
||||
manager: auto
|
||||
|
||||
- name: Print the package facts
|
||||
ansible.builtin.debug:
|
||||
var: ansible_facts.packages
|
||||
|
||||
- name: remove snap
|
||||
community.general.snap:
|
||||
name: firefox
|
||||
|
@ -50,6 +46,7 @@
|
|||
- name: install browser
|
||||
become: yes
|
||||
apt:
|
||||
allow_downgrade: true
|
||||
update_cache: yes
|
||||
state: latest
|
||||
pkg:
|
||||
|
|
|
@ -11,11 +11,6 @@
|
|||
body_format: json
|
||||
register: git_info
|
||||
|
||||
- name: "Download URL"
|
||||
debug:
|
||||
msg: "{{ (git_info.json | json_query('assets[*].browser_download_url') | select('match', '.*x64-GTK3.*AppImage'))[0] }}"
|
||||
when: ansible_architecture == "x86_64"
|
||||
|
||||
- name: Install on amd64
|
||||
become: yes
|
||||
when: ansible_architecture == "x86_64"
|
||||
|
@ -24,11 +19,6 @@
|
|||
dest: /usr/local/bin/prusa-slicer.real
|
||||
mode: 0755
|
||||
|
||||
- name: "Download URL"
|
||||
debug:
|
||||
msg: "{{ (git_info.json | json_query('assets[*].browser_download_url') | select('match', '.*armv7l-GTK2.*AppImage'))[0] }}"
|
||||
when: ansible_architecture == "arm64"
|
||||
|
||||
- name: Install on arm64
|
||||
when: ansible_architecture == "arm64"
|
||||
become: yes
|
||||
|
|
Loading…
Add table
Reference in a new issue