diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-23 23:20:19 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-23 23:20:19 +0100 |
| commit | a79459516f210f38cf3281ffe8887f27afaa84d2 (patch) | |
| tree | 2108aabe5888c031ad6c414f9d2c541f8f4e14a2 /roles/zen-browser/meta | |
| parent | 5935326dff6f47f76da5c6a156985b0900e56b0f (diff) | |
Install zen-browser (re-skinned firefox)
Diffstat (limited to 'roles/zen-browser/meta')
| -rw-r--r-- | roles/zen-browser/meta/argument_specs.yml | 150 | ||||
| -rw-r--r-- | roles/zen-browser/meta/main.yml | 12 |
2 files changed, 162 insertions, 0 deletions
diff --git a/roles/zen-browser/meta/argument_specs.yml b/roles/zen-browser/meta/argument_specs.yml new file mode 100644 index 00000000..64120e24 --- /dev/null +++ b/roles/zen-browser/meta/argument_specs.yml @@ -0,0 +1,150 @@ +--- +# NOTE: The defaults below are sensible role defaults and are not meant to be changed directly. +# Use the override variables (zen_browser_policies_override, zen_browser_extra_extensions) +# to customize behavior. +# But also you can change these defaults directly. +argument_specs: + main: + short_description: "Install and configure Zen Browser settings and policies" + description: "Install and configure Zen Browser settings and policies" + options: + zen_browser_is_default: + type: "bool" + description: "Set Zen Browser as the default web browser" + default: false + zen_browser_install_browserpass: + type: "bool" + description: "Install the browserpass extension and native messaging host" + default: false + zen_browser_install_passff: + type: "bool" + description: "Install the passff extension and native messaging host" + default: false + zen_browser_policies_override: + type: "dict" + description: "Override role's default Zen Browser policies" + default: {} + zen_browser_extra_extensions: + type: "dict" + description: "Extra extensions to install via policies (added to the default extensions)" + default: {} + zen_browser_default_extensions: + # Default extensions to be installed via policies + # - uBlock Origin + # - Vimium FF + # - Privacy Badger + # - Privacy Possum + # - LanguageTool + type: "dict" + description: "Default Zen Browser extensions configurations to install via policies" + default: + "*": + installation_mode: "allowed" + allowed_types: + - "extension" + - "theme" + - "dictionary" + - "locale" + "[email protected]": + installation_mode: "force_installed" + install_url: "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi" + "{d7742d87-e61d-4b78-b8a1-b469842139fa}": + installation_mode: "force_installed" + install_url: "https://addons.mozilla.org/firefox/downloads/latest/vimium-ff/latest.xpi" + "jid1-MnnxcxisBPnSXQ@jetpack": + installation_mode: "force_installed" + install_url: "https://addons.mozilla.org/firefox/downloads/latest/privacy-badger17/latest.xpi" + "woop-NoopscooPsnSXQ@jetpack": + installation_mode: "force_installed" + install_url: "https://addons.mozilla.org/firefox/downloads/latest/privacy-possum/latest.xpi" + "[email protected]": + installation_mode: "force_installed" + install_url: "https://addons.mozilla.org/firefox/downloads/latest/languagetool/latest.xpi" + zen_browser_default_policies: + type: "dict" + description: "Default (sensible) policies for Zen Browser" + default: + AutofillAddressEnabled: true + AutofillCreditCardEnabled: false + BlockAboutAddons: false + BlockAboutConfig: false + BlockAboutProfiles: false + BlockAboutSupport: false + CaptivePortal: true + DisableDeveloperTools: false + DisableEncryptedClientHello: false + DisableFeedbackCommands: true + DisableFirefoxAccounts: false + DisableFirefoxScreenshots: true + DisableFirefoxStudies: true + DisablePasswordReveal: false + DisableProfileImport: true + DisableProfileRefresh: true + DisableSafeMode: false + DisableTelemetry: true + DisablePocket: true + DisplayBookmarksToolbar: "always" + DisplayMenuBar: "default-on" + DNSOverHTTPS: + Enabled: true + Fallback: true + DontCheckDefaultBrowser: true + EnableTrackingProtection: + Value: true + Category: "strict" + FirefoxHome: + Search: true + TopSites: true + SponsoredTopSites: false + SponsoredPocket: false + SponsoredStories: false + Highlights: true + Pocket: false + Stories: false + Snippets: true + Locked: false + FirefoxSuggest: + WebSuggestions: false + SponsoredSuggestions: false + ImproveSuggest: false + Locked: false + GenerativeAI: + Enabled: false + Locked: false + Homepage: + StartupPage: "homepage" + HttpsOnlyMode: "enabled" + LegacyProfiles: false + PasswordManagerEnabled: false + PictureInPicture: + Enabled: true + PostQuantumKeyAgreementEnabled: true + PrintingEnabled: true + PrivateBrowsingModeAvailability: 0 + RequestedLocales: + - "en-US" + - "de" + SearchBar: "unified" + SearchEngines: + Default: "DuckDuckGo" + PreventInstalls: true + Remove: + - "Bing" + - "Ecosia" + - "Amazon" + - "eBay" + - "Twitter" + - "Wikipedia (en)" + SearchSuggestEnabled: true + ShowHomeButton: false + SkipTermsOfUse: true + TranslateEnabled: true + UserMessaging: + ExtensionRecommendations: false + FeatureRecommendations: false + UrlbarInterventions: false + SkipOnboarding: true + MoreFromMozilla: false + FirfoxLabs: false + UseSystemPrintDialog: true + VisualSearchEnabled: true diff --git a/roles/zen-browser/meta/main.yml b/roles/zen-browser/meta/main.yml new file mode 100644 index 00000000..3cd59bdf --- /dev/null +++ b/roles/zen-browser/meta/main.yml @@ -0,0 +1,12 @@ +--- +dependencies: + - role: "xdg-utils" +galaxy_info: + author: "a14m" + description: "Install and configure Zen Browser settings and policies." + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "ArchLinux" + versions: + - "all" |
