Install Firefox for Linux and Windows.
platforms:
- name: Fedora
versions:
- 31
- 32
- name: Ubuntu
versions:
- focal
- bionic
- xenial
- name: Debian
version:
- oldstable
- stable
# - testing
- name: EL (CentOS)
versions:
- 7
- 8
- name: opensuse
vesrion:
- tumbleweed
- name: ArchLinux
version:
- any
- name: windows
version:
- 2008x64 (7 64bit)
- 2008x86 (7 32bit)
- 2019 (10 64bit)
- βοΈ - work, tested, ok.
- π§ - TODO. Work in progress.
- β - not work. Don't try.
. | Firefox stable | Firefox beta | Firefox nightly | Firefox developer | Firefox esr | . | Flatpak | Snap | msi | exe | tar.bz2 | . | 32 bit | 64 bit |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OS | ||||||||||||||
Windows | ||||||||||||||
7 | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | β | βοΈ | βοΈ | ||
10 | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | β | βοΈ | βοΈ | ||
. | ||||||||||||||
Ubuntu | ||||||||||||||
focal | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
eoan | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
disco | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
cosmic | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
bionic | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
xenial | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
. | ||||||||||||||
Debian | ||||||||||||||
jessie | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
stretch | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
buster | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
stable | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
testing | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
. | ||||||||||||||
EL (CentOS) | ||||||||||||||
8 | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
7 | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
. | ||||||||||||||
opensuse | ||||||||||||||
tumbleweed | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | β | β | βοΈ | βοΈ | βοΈ | ||
. | ||||||||||||||
ArchLinux | ||||||||||||||
any | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | π§ | β | β | βοΈ | β | βοΈ | ||
. | ||||||||||||||
Fedora | ||||||||||||||
32 | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | |||||||
31 | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | |||||||
. | ||||||||||||||
Package manager | ||||||||||||||
deb/rpm | βοΈ | β | β | βοΈ/β | β | |||||||||
Flatpak | βοΈ | β | β | β | β | |||||||||
Snap | βοΈ | βοΈ | π§ | π§ | βοΈ | β | βοΈ | |||||||
msi | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | |||||||||
exe | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | |||||||||
tar.bz2 | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | |||||||||
. | ||||||||||||||
Architecture | ||||||||||||||
32 | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | |||||||||
64 | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
---
#--- Firefox Edition ---#
firefox_edition: stable
# https://www.mozilla.org/en-US/firefox/channel/desktop/#beta
# firefox_edition: beta
# https://www.mozilla.org/en-US/firefox/channel/desktop/#nightly
# firefox_edition: nightly
# https://www.mozilla.org/en/firefox/developer/
# firefox_edition: developer
# https://www.mozilla.org/en/firefox/enterprise/
# firefox_edition: esr
#--- Firefox method install ---#
# https://repology.org/project/firefox/versions
firefox_method_install: package-manager
# https://en.wikipedia.org/wiki/Flatpak
# https://flathub.org/apps/details/org.mozilla.firefox
# firefox_method_install: flatpak
# https://en.wikipedia.org/wiki/Snappy_(package_manager)
# https://snapcraft.io/firefox
# firefox_method_install: snap
# https://www.mozilla.org/en/firefox/download/thanks/
# firefox_method_install: tar.bz2
#--- Firefox architecture ---#
firefox_arch: 64
# https://en.wikipedia.org/wiki/64-bit_computing
# firefox_arch: 32
#--- Firefox language ---#
# Default value: firefox_lang == your_windows_system_language
# firefox_lang: ru
# firefox_lang: en-US
#--- Firefox api urls ---#
firefox_versions_url: https://product-details.mozilla.org/1.0/firefox_versions.json
# Need for Windows.
firefox_available_languages_url: https://product-details.mozilla.org/1.0/languages.json
#--- Firefox installer type. Windows only!!! ---#
firefox_win_installer_type: exe
# firefox_win_installer_type: msi
#--- Firefox local download path ---#
firefox_windows_local_download_path: '{{ ansible_env.TMP }}\firefox'
firefox_linux_local_download_path: '/var/cache/firefox'
#--- Firefox install paths. Only for tar.bz2 ---#
firefox_linux_install_path: '/opt/firefox/{{ firefox_edition }}'
firefox_linux_path_to_bin: '{{ firefox_linux_install_path }}/firefox/firefox'
firefox_linux_path_to_icon: '{{ firefox_linux_install_path }}/firefox/browser/chrome/icons/default/default128.png'
#--- Firefox checksum algorithm ---#
firefox_checksum_algorithm: sha256
# firefox_checksum_algorithm: sha512
#--- Firefox version ---#
firefox_version: latest
# firefox_version: 75.0
#--- Apt repo section ---#
# https://repolib.readthedocs.io/en/latest/deb822-format.html
# If you *NOT* use apt-cacher-ng or other caching proxy - select "https".
http_or_https: http
# http_or_https: https
# https://www.opennet.ru/opennews/art.shtml?num=60019
mozilla_apt_repo_path_to_sources: /etc/apt/sources.list.d/mozilla.sources
mozilla_gpg_repo_key_url: https://packages.mozilla.org/apt/repo-signing-key.gpg
mozilla_apt_repo_architectures:
- amd64
mozilla_apt_repo_components:
- main
mozilla_apt_repo_suites:
- mozilla
mozilla_apt_repo_types:
- deb
mozilla_apt_repo_uris:
- "{{ http_or_https }}://packages.mozilla.org/apt"
mozilla_apt_repo_x_repolib_name: Official Mozilla repo
Version one:
cd /path/to/you/ansible/roles
git clone https://github.com/don-rumata/ansible-role-install-flatpak
Version two:
ansible-galaxy install don_rumata.ansible_role_install_flatpak
Version one:
cd /path/to/you/ansible/roles
git clone https://github.com/don-rumata/ansible-role-install-snap
Version two:
ansible-galaxy install don_rumata.ansible_role_install_snap
Download and install Windows Management Framework 5.1
Quick config WinRM for Windows: https://ru.stackoverflow.com/a/949971/191416
Install latest stable Firefox on Windows or Linux over package manager of you distro:
install-firefox.yml
:
- name: Install FireFox
hosts: all
strategy: free
serial:
- "100%"
roles:
- ansible-role-install-firefox
tasks:
install-firefox-over-flatpak-v1.yml
:
- name: Install FireFox
hosts: all
strategy: free
serial:
- "100%"
roles:
- ansible-role-install-flatpak
- ansible-role-install-firefox
vars:
firefox_method_install: flatpak
tasks:
install-firefox-over-snap-v2.yml
:
- name: Install FireFox
hosts: all
strategy: free
serial:
- "100%"
roles:
- don_rumata.ansible_role_install_snap
- ansible-role-install-firefox
vars:
firefox_method_install: snap
tasks:
Apache License, Version 2.0
-
Add tests. -
Add more tests.
-
Add ArchLinux firefox-i18n-{{ system_lang }}
-
Add custom languages.
-
Add get links over http-header
-
Add uninstall.yml