Skip to content

Ansible role for installing and updating multiple versions of Firefox and configuring Firejail on Debian and Ubuntu.

License

Notifications You must be signed in to change notification settings

chriscroome/ansible-role-firefox

Repository files navigation

Webarchitects Firefox Ansible Role

pipeline status

This is an Ansible role for configuring the Mozilla apt repo and installing different Firefox editions.

Usage

The suggested method for using this role is via the localhost repo.

Role variables

See the defaults/main.yml file for the default variables, the vars/main.yml file for the preset variables and the meta/argument_specs.yml file for the variable specification.

firefox

Set the firefox variable to true to run the tasks in this role, it defaults to false.

firefox_editions

A list of Firefox editions to install, for example:

firefox_editions:
 - name: Firefox Developer Edition
   pkg: firefox-devedition
 - name: Firefox Nightly
   pkg: firefox-nightly

firefox_firejail

A boolean, install and configure Firejail, firefox_firejail defaults to true.

firefox_lang

The Firefox language, firefox_lang defaults to en-GB.

firefox_validate

Validate all variables that start with firefox_ using the argument specification.

Firejail

By default this role installs and configures Firejail, from Debian backports if available from there.

In order for WebAuthn to work (for example using a Yubikey) this role edits /etc/firejail/firejail.config to set:

browser-disable-u2f no

Profiles

You can use the Firefox Profile Manager to manage and switch which version uses which profile, type about:profiles in the address bar to access the Profile Manager.

Repository

The primary URL of this repo is https://git.coop/webarch/firefox however it is also mirrored to GitHub and available via Ansible Galaxy.

If you use this role please use a tagged release, see the release notes.

Copyright

Copyright 2022-2024 Chris Croome, <chris@webarchitects.co.uk>.

This role is released under the same terms as Ansible itself, the GNU GPLv3.

About

Ansible role for installing and updating multiple versions of Firefox and configuring Firejail on Debian and Ubuntu.

Topics

Resources

License

Stars

Watchers

Forks