Add role librewolf

This commit is contained in:
flyingscorpio@clevo 2022-06-03 21:07:39 +02:00
parent f9a05cf1af
commit a19e0bce33
4 changed files with 46 additions and 0 deletions

View file

@ -18,6 +18,7 @@
- {role: pacman, tags: [pacman, pacman.conf]}
- {role: grub, tags: grub}
- {role: firefox, tags: firefox}
- {role: librewolf, tags: librewolf}
- {role: markdown, tags: markdown}
- {role: tor, tags: tor}
- {role: sudoers, tags: sudoers}

View 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/

View file

@ -0,0 +1,3 @@
---
dependencies:
- role: check-sudo

View 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