]> freie-schul-it.de Git - fsit-cmgt.git/commitdiff
Settings und policiy-Template für Firefox-ESR erstellt
authorUllli <ullli@freie-schul-it.de>
Wed, 24 May 2023 16:05:11 +0000 (18:05 +0200)
committerUllli <ullli@freie-schul-it.de>
Wed, 24 May 2023 16:05:11 +0000 (18:05 +0200)
library/software-firefox_esr.yml [new file with mode: 0644]
templates/firefox_policies.json.j2 [new file with mode: 0644]

diff --git a/library/software-firefox_esr.yml b/library/software-firefox_esr.yml
new file mode 100644 (file)
index 0000000..a042eb0
--- /dev/null
@@ -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 (file)
index 0000000..9ab2b41
--- /dev/null
@@ -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"
+      ]
+    }
+  }
+}