Switch to firefox

main
Micke Nordin 10 months ago
parent 95c1f6d7fb
commit fb430da44c

@ -4,8 +4,8 @@
vars:
uid: "{{ lookup('env','USER') }}"
host_app_url: https://github.com/passff/passff-host/releases/latest/download/install_host_app.sh
key_path: /usr/share/keyrings/librewolf.gpg
key_url: https://deb.librewolf.net/keyring.gpg
key_path: /usr/share/keyrings/firefox.gpg
key_url: http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xc77205f7194a3e1abe2df9a4b7b9c16f2667ca5c
connection: local
become: false
tasks:
@ -16,7 +16,7 @@
- name: Get key
ansible.builtin.command:
chdir: /tmp
cmd: wget {{ key_url }}
cmd: wget -O ./keyring.gpg '{{ key_url }}'
creates: /tmp/keyring.gpg
when: not key.stat.exists
- name: Dearmor key
@ -29,8 +29,8 @@
- name: install repo
become: true
ansible.builtin.template:
src: ../templates/librewolf.sources.j2
dest: /etc/apt/sources.list.d/librewolf.sources
src: ../templates/firefox.sources.j2
dest: /etc/apt/sources.list.d/firefox.sources
when: not key.stat.exists
- name: Install apt package
become: true
@ -38,7 +38,7 @@
autoclean: true
autoremove: true
install_recommends: true
pkg: [librewolf]
pkg: [firefox-mozilla-build]
state: latest
update_cache: true
- name: Get host app
@ -49,7 +49,7 @@
when: not key.stat.exists
- name: Install host app
ansible.builtin.command:
cmd: bash /tmp/install_host_app.sh librewolf
cmd: bash /tmp/install_host_app.sh firefox
when: not key.stat.exists
- name: Clean up
ansible.builtin.command:

@ -1,6 +0,0 @@
Types: deb
URIs: https://deb.librewolf.net
Suites: bullseye
Components: main
Architectures: amd64
Signed-By: {{ key_path }}
Loading…
Cancel
Save