Switch to firefox
This commit is contained in:
parent
95c1f6d7fb
commit
fb430da44c
2 changed files with 7 additions and 13 deletions
|
@ -4,8 +4,8 @@
|
||||||
vars:
|
vars:
|
||||||
uid: "{{ lookup('env','USER') }}"
|
uid: "{{ lookup('env','USER') }}"
|
||||||
host_app_url: https://github.com/passff/passff-host/releases/latest/download/install_host_app.sh
|
host_app_url: https://github.com/passff/passff-host/releases/latest/download/install_host_app.sh
|
||||||
key_path: /usr/share/keyrings/librewolf.gpg
|
key_path: /usr/share/keyrings/firefox.gpg
|
||||||
key_url: https://deb.librewolf.net/keyring.gpg
|
key_url: http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xc77205f7194a3e1abe2df9a4b7b9c16f2667ca5c
|
||||||
connection: local
|
connection: local
|
||||||
become: false
|
become: false
|
||||||
tasks:
|
tasks:
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
- name: Get key
|
- name: Get key
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
chdir: /tmp
|
chdir: /tmp
|
||||||
cmd: wget {{ key_url }}
|
cmd: wget -O ./keyring.gpg '{{ key_url }}'
|
||||||
creates: /tmp/keyring.gpg
|
creates: /tmp/keyring.gpg
|
||||||
when: not key.stat.exists
|
when: not key.stat.exists
|
||||||
- name: Dearmor key
|
- name: Dearmor key
|
||||||
|
@ -29,8 +29,8 @@
|
||||||
- name: install repo
|
- name: install repo
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: ../templates/librewolf.sources.j2
|
src: ../templates/firefox.sources.j2
|
||||||
dest: /etc/apt/sources.list.d/librewolf.sources
|
dest: /etc/apt/sources.list.d/firefox.sources
|
||||||
when: not key.stat.exists
|
when: not key.stat.exists
|
||||||
- name: Install apt package
|
- name: Install apt package
|
||||||
become: true
|
become: true
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
autoclean: true
|
autoclean: true
|
||||||
autoremove: true
|
autoremove: true
|
||||||
install_recommends: true
|
install_recommends: true
|
||||||
pkg: [librewolf]
|
pkg: [firefox-mozilla-build]
|
||||||
state: latest
|
state: latest
|
||||||
update_cache: true
|
update_cache: true
|
||||||
- name: Get host app
|
- name: Get host app
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
when: not key.stat.exists
|
when: not key.stat.exists
|
||||||
- name: Install host app
|
- name: Install host app
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: bash /tmp/install_host_app.sh librewolf
|
cmd: bash /tmp/install_host_app.sh firefox
|
||||||
when: not key.stat.exists
|
when: not key.stat.exists
|
||||||
- name: Clean up
|
- name: Clean up
|
||||||
ansible.builtin.command:
|
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…
Add table
Reference in a new issue