feat: librewolf installer

This commit is contained in:
Ivan R. 2024-07-20 12:39:00 +05:00 committed by Ivan Reshetnikov
parent cf92967ce9
commit fe2cb96e0a
Signed by: lumin
GPG key ID: E0937DC7CD6D3817
3 changed files with 34 additions and 0 deletions

4
internet.yml Normal file
View file

@ -0,0 +1,4 @@
- name: Internet
hosts: odhosts
roles:
- librewolf

View file

@ -0,0 +1,6 @@
Types: deb
URIs: https://deb.librewolf.net
Suites: bookworm
Components: main
Architectures: amd64
Signed-By: /usr/share/keyrings/librewolf.gpg

View file

@ -0,0 +1,24 @@
- name: Install required programs
become: true
ansible.builtin.apt:
pkg:
- wget
- gnupg
- apt-transport-https
- ca-certificates
- name: Download gpg key
become: true
ansible.builtin.shell:
cmd: wget -O- https://deb.librewolf.net/keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/librewolf.gpg
creates: /usr/share/keyrings/librewolf.gpg
- name: Copy .sources file
become: true
ansible.builtin.copy:
src: librewolf.sources
dest: /etc/apt/sources.list.d/librewolf.sources
mode: "0644"
- name: Install librewolf
become: true
ansible.builtin.apt:
name: librewolf
update_cache: yes