Compare commits

...

3 commits

Author SHA1 Message Date
5b4c260327 Create bin directory when installing dotfiles 2023-04-24 13:15:58 +02:00
ed354d64b3 Remove debugs 2023-04-24 13:14:42 +02:00
b90c6b3ab4 Fix firefox 2023-04-24 13:13:36 +02:00
3 changed files with 5 additions and 14 deletions

View file

@ -18,6 +18,10 @@
clone: yes
update: yes
- name: create bin dir
file:
path: ~/bin
- name: install
make:
target: install

View file

@ -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:

View file

@ -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