This role installs firefox on Ubuntu hosts.
-
Python packages
Install with:
python3 -m pip install --upgrade molecule-docker
Available variables are listed below, along with default values (see defaults/main.yml
):
Path to python3
interpreter on the target system.
ansible_python_interpreter: /usr/bin/python3
Debian-specific vars:
Required packages for the installation.
install_packages:
- dirmngr
None.
---
- name: Example playbook
hosts: all
become: true
environment:
DEBIAN_FRONTEND: noninteractive
roles:
- role: cowdogmoo.firefox
Make sure to run the following to develop locally:
PATH_TO_ROLE="${PWD}"
ln -s "${PATH_TO_ROLE}" "${HOME}/.ansible/roles/cowdogmoo.firefox"
To test changes made to this role, run the following commands:
molecule create
molecule converge
molecule idempotence
# If everything passed, tear down the docker container spawned by molecule:
molecule destroy