firefox/firefox.yml
2022-07-12 15:27:41 +02:00

94 lines
3.7 KiB
YAML

- 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