mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-08 02:04:47 +02:00
Moved browser extensions to configuration
This commit is contained in:
parent
887db59a57
commit
659c24eb14
@ -83,6 +83,12 @@ defaults_applications:
|
|||||||
css_enabled: "{{css_enabled_default}}" # Enables\Disables Global CSS Style
|
css_enabled: "{{css_enabled_default}}" # Enables\Disables Global CSS Style
|
||||||
landingpage_iframe_enabled: "{{landingpage_iframe_enabled_default}}" # Enables\Disables the possibility to embed this on landing page via iframe
|
landingpage_iframe_enabled: "{{landingpage_iframe_enabled_default}}" # Enables\Disables the possibility to embed this on landing page via iframe
|
||||||
|
|
||||||
|
# Chromium Browser
|
||||||
|
chromium:
|
||||||
|
plugins: # Plugins to be installed in Chromium
|
||||||
|
- "cjpalhdlnbpafiamejdnhcphjbkeiagm;https://clients2.google.com/service/update2/crx" # U-Block Origine Plugin
|
||||||
|
- "oboonakemofpalcgghocfoadofidjkkk;https://clients2.google.com/service/update2/crx" # KeepassXC Plugin
|
||||||
|
|
||||||
coturn: # @todo implement
|
coturn: # @todo implement
|
||||||
credentials:
|
credentials:
|
||||||
user: turnuser
|
user: turnuser
|
||||||
@ -109,6 +115,12 @@ defaults_applications:
|
|||||||
css_enabled: "{{css_enabled_default}}" # Enables\Disables Global CSS Style
|
css_enabled: "{{css_enabled_default}}" # Enables\Disables Global CSS Style
|
||||||
landingpage_iframe_enabled: "true" # Landingpage should be embeded in portfolio
|
landingpage_iframe_enabled: "true" # Landingpage should be embeded in portfolio
|
||||||
|
|
||||||
|
# Firefox Browser
|
||||||
|
firefox:
|
||||||
|
plugins: # Plugins to be installed in Firefox
|
||||||
|
- "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi" # U-Block Origine Plugin
|
||||||
|
- "https://addons.mozilla.org/firefox/downloads/latest/keepassxc-browser/latest.xpi" # KeepassXC Plugin
|
||||||
|
|
||||||
## Friendica
|
## Friendica
|
||||||
friendica:
|
friendica:
|
||||||
version: "latest"
|
version: "latest"
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"ExtensionInstallForcelist": [
|
|
||||||
"cjpalhdlnbpafiamejdnhcphjbkeiagm;https://clients2.google.com/service/update2/crx",
|
|
||||||
"oboonakemofpalcgghocfoadofidjkkk;https://clients2.google.com/service/update2/crx"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
|||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
- name: Copy the extensions policy file for Chromium
|
- name: Copy the extensions policy file for Chromium
|
||||||
copy:
|
template:
|
||||||
src: extensions_policy.json
|
src: extensions_policy.json.j2
|
||||||
dest: /etc/chromium/policies/managed/extensions_policy.json
|
dest: /etc/chromium/policies/managed/extensions_policy.json
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"ExtensionInstallForcelist": [
|
||||||
|
{% for plugin in applications[application_id].plugins -%}
|
||||||
|
"{{ plugin }}"{% if not loop.last %},{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
]
|
||||||
|
}
|
@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"policies": {
|
|
||||||
"Extensions": {
|
|
||||||
"Install": [
|
|
||||||
"https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi",
|
|
||||||
"https://addons.mozilla.org/firefox/downloads/latest/keepassxc-browser/latest.xpi"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
|||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
- name: Deploy Firefox Enterprise Policies file
|
- name: Deploy Firefox Enterprise Policies file
|
||||||
copy:
|
template:
|
||||||
src: policies.json
|
src: policies.json.j2
|
||||||
dest: "{{ firefox_policy_file }}"
|
dest: "{{ firefox_policy_file }}"
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
12
roles/pc-browser-firefox/templates/policies.json.j2
Normal file
12
roles/pc-browser-firefox/templates/policies.json.j2
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"policies": {
|
||||||
|
"Extensions": {
|
||||||
|
"Install": [
|
||||||
|
{% for plugin in applications[application_id].plugins -%}
|
||||||
|
"{{ plugin }}"{% if not loop.last %},{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user