This is an Ansible role for configuring the Mozilla apt repo and installing different Firefox editions.
The suggested method for using this role is via the localhost repo.
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.
Set the firefox
variable to true
to run the tasks in this role, it defaults to false
.
A list of Firefox editions to install, for example:
firefox_editions:
- name: Firefox Developer Edition
pkg: firefox-devedition
- name: Firefox Nightly
pkg: firefox-nightly
A boolean, install and configure Firejail, firefox_firejail
defaults to true
.
The Firefox language, firefox_lang
defaults to en-GB
.
Validate all variables that start with firefox_
using the argument specification.
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
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.
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 2022-2024 Chris Croome, <chris@webarchitects.co.uk>.
This role is released under the same terms as Ansible itself, the GNU GPLv3.