Skip to content

EA31337/ansible-role-xvfb

Repository files navigation

Ansible Role: Xvfb

CodeRabbit PR Reviews License

Ansible role to install Xvfb (X virtual framebuffer) on UNIX-like platforms.

Requirements

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

Install

Install from GitHub

To install this role, you can use the following terminal command:

ansible-galaxy install git+https://github.com/EA31337/ansible-role-xvfb.git

Role Variables

For available variables, check defaults/main.yml.

Testing

Docker

Steps to test role on Docker containers.

  1. 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
  2. Ensure Docker service (e.g. Docker Desktop) is running.

  3. Run playbook from tests/:

    ansible-playbook -i tests/inventory/docker-containers.yml tests/playbooks/docker-containers.yml

Molecule

To test using Molecule, run:

molecule test

License

GNU GPL v3

See: LICENSE

About

Ansible role to install Xvfb and configure as service using supervisord.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •