25 lines
654 B
YAML
25 lines
654 B
YAML
|
- 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
|