Add role librewolf
This commit is contained in:
parent
f9a05cf1af
commit
a19e0bce33
4 changed files with 46 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
- {role: pacman, tags: [pacman, pacman.conf]}
|
- {role: pacman, tags: [pacman, pacman.conf]}
|
||||||
- {role: grub, tags: grub}
|
- {role: grub, tags: grub}
|
||||||
- {role: firefox, tags: firefox}
|
- {role: firefox, tags: firefox}
|
||||||
|
- {role: librewolf, tags: librewolf}
|
||||||
- {role: markdown, tags: markdown}
|
- {role: markdown, tags: markdown}
|
||||||
- {role: tor, tags: tor}
|
- {role: tor, tags: tor}
|
||||||
- {role: sudoers, tags: sudoers}
|
- {role: sudoers, tags: sudoers}
|
||||||
|
|
15
roles/librewolf/files/addons.txt
Normal file
15
roles/librewolf/files/addons.txt
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/facebook-container/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/ghostery/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/gitlab-markdown-viewer/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/google-container/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/https-everywhere/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/vimium-ff/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/never-consent/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/privacy-redirect/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/clearurls/
|
||||||
|
https://addons.mozilla.org/en-US/firefox/addon/canvasblocker/
|
3
roles/librewolf/meta/main.yml
Normal file
3
roles/librewolf/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: check-sudo
|
27
roles/librewolf/tasks/main.yml
Normal file
27
roles/librewolf/tasks/main.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
---
|
||||||
|
- name: Clone librewolf (Archlinux)
|
||||||
|
git:
|
||||||
|
repo: https://aur.archlinux.org/librewolf-bin.git
|
||||||
|
dest: ~/builds/librewolf-bin
|
||||||
|
clone: true
|
||||||
|
update: false
|
||||||
|
when: ansible_facts['distribution'] == 'Archlinux'
|
||||||
|
|
||||||
|
- name: Make and install librewolf (Archlinux)
|
||||||
|
command:
|
||||||
|
cmd: makepkg -cirs --needed
|
||||||
|
chdir: ~/builds/librewolf-bin
|
||||||
|
when: ansible_facts['distribution'] == 'Archlinux'
|
||||||
|
register: result
|
||||||
|
changed_when: "'installing existing package' not in result.stderr"
|
||||||
|
|
||||||
|
- name: Install librewolf (Debian)
|
||||||
|
become: true
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- librewolf
|
||||||
|
when: ansible_facts['distribution'] == 'Debian'
|
||||||
|
|
||||||
|
- name: Open addon pages for installation
|
||||||
|
command: "librewolf {{ lookup('file', 'addons.txt') }}"
|
||||||
|
changed_when: false
|
Loading…
Add table
Reference in a new issue