Ansible role to install Xvfb (X virtual framebuffer) on UNIX-like platforms.
This role requires:
- Ansible
- Python
- Administrative/root access on target hosts
- One of the following operating systems:
- Alpine Linux
- Debian/Ubuntu
- NixOS or systems with Nix package manager
To install this role, you can use the following terminal command:
ansible-galaxy install git+https://github.com/EA31337/ansible-role-xvfb.git
For available variables,
check defaults/main.yml
.
Steps to test role on Docker containers.
-
Install the current role by running the following commands in shell:
ansible-galaxy install -r requirements.yml jinja2 requirements-local.yml.j2 -D "pwd=$PWD" -o requirements-local.yml ansible-galaxy install -r requirements-local.yml
-
Ensure Docker service (e.g. Docker Desktop) is running.
-
Run playbook from
tests/
:ansible-playbook -i tests/inventory/docker-containers.yml tests/playbooks/docker-containers.yml
To test using Molecule, run:
molecule test
GNU GPL v3
See: LICENSE