system-from-scratch/roles/librewolf/tasks/main.yml

25 lines
654 B
YAML
Raw Normal View History

2024-07-20 12:39:00 +05:00
- 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