030.ansible_firefox

Ansible Role: Firefox

Build Status Ansible Galaxy

This Ansible role installs the latest version of Firefox.

Troubleshooting

To help debug some variables, add this code to your tasks/main.yml file:

- debug:
    msg: "{{ firefox_latest_version_info_url }} {{ firefox_latest_version_info }} {{ firefox_version_latest }} {{ firefox_checksum_latest }}"

Requirements

There are no special requirements for this role.

Role Variables

To create a desktop icon for Firefox, you can set the following variable:

firefox_desktop_icon: true

By default, this role installs the latest version of Firefox. If you want to install a specific version, you can set the version like this:

firefox_version: 57.0.2

You also need to provide the checksum for the version you want to download. For example:

firefox_checksum: sha512:b696fe306e84927407f0c216fb8672beb33c7bf000abf6e390df52f8eeae9373d2764c6ec9678302f57fae34f7fdfb986577823528a48ee2972e13c8970382ca

Make sure to look for linux-x86_64/en-US/firefox-.

If you want to change the directory where Firefox will be installed, you can set:

firefox_home: /opt/firefox-{{ firefox_version }}

Dependencies

There are no dependencies.

Example Playbook

Here's how you can use this role in a playbook:

- hosts: servers
  roles:
     - role: 030.ansible_firefox

License

This role is licensed under MIT / BSD.

Author Information

This role was created by 030 in 2017.

Informazioni sul progetto

Firefox

Installa
ansible-galaxy install 030.ansible_firefox
Licenza
mit
Download
466
Proprietario