From a46b7cbbb43a56d11d65db74047b7de0c9f3b83a Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 12 Jul 2022 15:08:28 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Efirefox.yml=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- firefox.yml | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/firefox.yml b/firefox.yml index e69de29..6771f3b 100644 --- a/firefox.yml +++ b/firefox.yml @@ -0,0 +1,94 @@ +- name: Basic Debian Linux Setup + hosts: all + tasks: + + - name: Firefox policy + blockinfile: + path: /usr/lib/firefox/distribution/policies.json + mode: "0444" + owner: root + group: root + create: yes + marker: "" + block: | + { + "policies": { + "Cookies": { + "AcceptThirdParty": "never", + "Default": true, + "ExpireAtSessionEnd": true, + "RejectTracker": true + }, + "DisableAppUpdate": true, + "DisableFirefoxStudies": true, + "DisableTelemetry": true, + "DisplayMenuBar": true, + "DontCheckDefaultBrowser": true, + "DisableFormHistory": true, + "DisablePocket": true, + "PromptForDownloadLocation": true, + "EnableTrackingProtection": { + "Value": true + }, + "FirefoxHome": { + "Search": true, + "TopSites": false, + "Highlights": false, + "Pocket": false, + "Snippets": false, + "Locked": false + }, + "ExtensionUpdate": true, + "Extensions": { + "Install": [ + "https://addons.mozilla.org/firefox/downloads/latest/adblocker-ultimate/latest.xpi", + "https://addons.mozilla.org/firefox/downloads/latest/video-downloadhelper/latest.xpi", + "https://addons.mozilla.org/firefox/downloads/latest/nextcloud-passwords/latest.xpi", + "https://addons.mozilla.org/firefox/downloads/latest/smart-amazon-smile/latest.xpi" + ] + }, + "Homepage": { + "StartPage": "homepage", + "URL": "https://www.startpage.com/do/mypage.pl?prfh=enable_stay_controlEEE1N1NsuggestionsEEE1N1Ngeo_mapEEE1N1Nwikipedia_iaEEE1N1Nother_iaEEE1N1Ndisable_open_in_new_windowEEE0N1Ndisable_video_family_filterEEE1N1Nenable_post_methodEEE1N1Nenable_proxy_safety_suggestEEE1N1Ndisable_family_filterEEE1N1NsslEEE1N1Nlanguage_uiEEEdeutschN1NlanguageEEEdeutschN1Nwt_unitEEEcelsiusN1Nnum_of_resultsEEE20N1Nlang_homepageEEEs/default/de/" + }, + "DisplayBookmarksToolbar": true, + "NoDefaultBookmarks": true, + "OverrideFirstRunPage": "", + "OverridePostUpdatePage": "", + "Preferences": { + "browser.urlbar.suggest.bookmark": true, + "browser.urlbar.suggest.history": false, + "browser.urlbar.suggest.openpage": false, + "extensions.getAddons.showPane": false, + "places.history.enabled": false, + "security.ssl.errorReporting.enabled": false + }, + "Proxy": { + "AutoLogin": false, + "Locked": false, + "HTTPProxy": "localhost:3128", + "Mode": "none", + "SOCKSVersion": 4, + "UseHTTPProxyForAllProtocols": true, + "UseProxyForDNS": true + }, + "SanitizeOnShutdown": true, + "SearchEngines": { + "Add": [ + { + "Name": "Startpage", + "URLTemplate": "https://www.startpage.com/do/search/q={searchTerms}", + "Method": "POST", + "IconURL": "https://www.startpage.com/favicon.ico", + "Description": "Startpage", + "PostData": "name=value&q={searchTerms}", + "SuggestURLTemplate": "https://www.startpage.com/suggestions/q={searchTerms}" + } + ], + "Default": "Google", + "Remove": ["Bing", "eBay", "Amazon.de" ] + }, + "SearchBar": "separate" + } + } + backup: yes \ No newline at end of file