basvandenbrink.firefox

Ansible Role: Firefox

This role installs Firefox and can create profiles with extensions. The extensions will be installed but must be manually enabled in Firefox.

Requirements

The requests library must be installed on the remote host to allow for extension installation.

Role Variables

Default profile directory

firefox_home: ~/.mozilla/firefox

Profile settings

The firefox_profiles variable is an object where the keys are profile names. For each profile, you can list the extensions to be installed under the extensions field. You can also set preferences using key-value pairs under the preferences field. These preferences will be saved in the user.js file of the profile.

Example Playbook

- hosts: localhost

  vars:
    firefox_profiles:
      default:
        extensions:
          - ublock-origin
        preferences:
          privacy.donottrackheader.enabled: "true"
          privacy.trackingprotection.enabled: "true"
          signon.rememberSignons: "false"
          datareporting.healthreport.uploadEnabled: "false"
      bob:
        extensions:
          - adblock-plus
        preferences:
          privacy.donottrackheader.enabled: "false"
          privacy.trackingprotection.enabled: "false"
          signon.rememberSignons: "false"
          datareporting.healthreport.uploadEnabled: "false"

  roles:
     - basvandenbrink.firefox

Credits

This Ansible role is a modified version of the original Ansible role created by GitHub user unrblt.

License

GPLv2

Informazioni sul progetto

Create and configure Firefox profiles and download extensions.

Installa
ansible-galaxy install basvandenbrink.firefox
Licenza
Unknown
Download
279
Proprietario