From: Ullli Date: Wed, 24 May 2023 16:05:11 +0000 (+0200) Subject: Settings und policiy-Template für Firefox-ESR erstellt X-Git-Url: https://freie-schul-it.de/gitweb/fsit-cmgt.git/commitdiff_plain/ee1a3b3e5a72f2e6657386337ae4c985fee4ab90 Settings und policiy-Template für Firefox-ESR erstellt --- diff --git a/library/software-firefox_esr.yml b/library/software-firefox_esr.yml new file mode 100644 index 0000000..a042eb0 --- /dev/null +++ b/library/software-firefox_esr.yml @@ -0,0 +1,12 @@ +--- + + +- name: create firefox-policies directory + file: + path: /etc/firefox/policies + state: directory +- name: copy firefox-policies config file + copy: + src: templates/firefox_policies.json.j2 + dest: /etc/firefox/policies/policies.json +... diff --git a/templates/firefox_policies.json.j2 b/templates/firefox_policies.json.j2 new file mode 100644 index 0000000..9ab2b41 --- /dev/null +++ b/templates/firefox_policies.json.j2 @@ -0,0 +1,89 @@ + + "policies": { + "DisableBuiltinPDFViewer": true, + "DisableFeedbackCommands": true, + "DisableFirefoxAccounts": true, + "DisableFirefoxStudies": true, + "DisablePocket": true, + "DisableProfileImport": true, + "DisableTelemetry": true, + "EnableTrackingProtection": { + "Cryptomining": true, + "Fingerprinting": true, + "Value": true + }, + "ExtensionSettings": { + "*": { + "allowed_types": [ + "extension", + "themes", + "dictionary", + "locale" + ], + "blocked_install_message": "Bitte wende Dich an die IT-AG.", + "install_sources": [ + "about:addons", + "https://addons.mozilla.org/" + ], + "installation_mode": "allowed" + }, + "CanvasBlocker@kkapsner.de": { + "install_url": "https://addons.mozilla.org/firefox/downloads/latest/canvasblocker/latest.xpi", + "installation_mode": "blocked" + }, + "{74145f27-f039-47ce-a470-a662b129930a}": { + "install_url": "https://addons.mozilla.org/firefox/downloads/latest/clearurls/latest.xpi", + "installation_mode": "blocked" + }, + "keepassxc-browser@keepassxc.org": { + "install_url": "https://addons.mozilla.org/firefox/downloads/latest/keepassxc-browser/latest.xpi", + "installation_mode": "normal_installed" + }, + "skipredirect@sblask": { + "install_url": "https://addons.mozilla.org/firefox/downloads/latest/skip-redirect/latest.xpi", + "installation_mode": "blocked" + }, + "uBlock0@raymondhill.net": { + "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi", + "installation_mode": "force_installed" + } + }, + "FirefoxHome": { + "Highlights": false, + "Pocket": false, + "Search": true, + "Snippets": false, + "TopSites": true + }, + "FlashPlugin": { + "Default": false, + "Locked": true + }, + "Homepage": { + "StartPage": "homepage", + "URL": "{{ firefox-homepage }}" + }, + "NewTabPage": true, + "PasswordManagerEnabled": false, + "Preferences": { + "media.gmp-gmpopenh264.enabled": true, + "media.gmp-widevinecdm.enabled": true + }, + "PrimaryPassword": false, + "RequestedLocales": [ + "de", + "es-ES" + ], + "SearchEngines": { + "Default": "DuckDuckGo", + "DefaultPrivate": "DuckDuckGo", + "Remove": [ + "eBay", + "Amazon.com", + "Amazon.de", + "Google", + "Bing" + ] + } + } +}