toansible: Add firefox installation
This commit is contained in:
parent
c782e2ad17
commit
aab1171375
6 changed files with 34 additions and 40 deletions
|
@ -24,15 +24,6 @@ grub:
|
|||
sudo sed -i -E 's/^#?GRUB_DISABLE_SUBMENU.+/GRUB_DISABLE_SUBMENU=y/' /etc/default/grub &&
|
||||
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
firefox:
|
||||
- install:
|
||||
arch:
|
||||
- firefox
|
||||
debian:
|
||||
- firefox-esr
|
||||
- run:
|
||||
- firefox $(sed -n '/^ http/p' firefox_addons.txt)
|
||||
|
||||
terminator:
|
||||
- install:
|
||||
- terminator
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
Cookie AutoDelete
|
||||
https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/
|
||||
Facebook Container
|
||||
https://addons.mozilla.org/en-US/firefox/addon/facebook-container/
|
||||
Firefox Multi-Account Containers
|
||||
https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/
|
||||
Ghostery
|
||||
https://addons.mozilla.org/en-US/firefox/addon/ghostery/
|
||||
GitLab Markdown Viewer
|
||||
https://addons.mozilla.org/en-US/firefox/addon/gitlab-markdown-viewer/
|
||||
Google Container
|
||||
https://addons.mozilla.org/en-US/firefox/addon/google-container/
|
||||
HTTPS Everywhere
|
||||
https://addons.mozilla.org/en-US/firefox/addon/https-everywhere/
|
||||
Privacy Badger
|
||||
https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/
|
||||
uBlock Origin
|
||||
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
|
||||
Vimium
|
||||
https://addons.mozilla.org/en-US/firefox/addon/vimium-ff/
|
||||
Never-Consent
|
||||
https://addons.mozilla.org/en-US/firefox/addon/never-consent/
|
||||
Privacy Redirect
|
||||
https://addons.mozilla.org/en-US/firefox/addon/privacy-redirect/
|
||||
LocalCDN
|
||||
https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/
|
||||
ClearURLs
|
||||
https://addons.mozilla.org/en-US/firefox/addon/clearurls/
|
||||
CanvasBlocker
|
||||
https://addons.mozilla.org/en-US/firefox/addon/canvasblocker/
|
|
@ -6,4 +6,5 @@
|
|||
- neovim
|
||||
- ssh-agent
|
||||
- pacman.conf
|
||||
- firefox
|
||||
- tor
|
||||
|
|
15
roles/firefox/files/addons.txt
Normal file
15
roles/firefox/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/
|
18
roles/firefox/tasks/main.yml
Normal file
18
roles/firefox/tasks/main.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
|
||||
- name: Install firefox (Archlinux)
|
||||
become: true
|
||||
pacman:
|
||||
name:
|
||||
- firefox
|
||||
when: ansible_distribution == 'Archlinux'
|
||||
|
||||
- name: Install firefox (Debian)
|
||||
become: true
|
||||
apt:
|
||||
name:
|
||||
- firefox-esr
|
||||
when: ansible_distribution == 'Debian'
|
||||
|
||||
- name: Open addon pages for installation
|
||||
command: "firefox {{ lookup('file', 'addons.txt') }}"
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
|
||||
- name: Install Tor (Archlinux)
|
||||
- install:
|
||||
become: true
|
||||
pacman:
|
||||
name:
|
||||
|
|
Loading…
Add table
Reference in a new issue