210ea49c10
This updates the nodejs-test-dependencies role to install packages on Debian as well as Ubuntu. The main driver for this is Ubuntu Jammy has updated firefox to run out of a snap and getting selenium to operate in that environment has been difficult. It is theoretically possible, but rather than force users to sort it out offer Debian as an alternative. Change-Id: I51cc95046520597a02c307c5d368f492933ed263
14 lines
445 B
YAML
14 lines
445 B
YAML
- name: Install distro specific packages
|
|
include_tasks: "{{ zj_distro_pkgs }}"
|
|
vars:
|
|
params:
|
|
files:
|
|
- "{{ ansible_facts.distribution }}.yaml"
|
|
- "{{ ansible_facts.os_family }}.yaml"
|
|
loop: "{{ query('first_found', params, errors='ignore') }}"
|
|
loop_control:
|
|
loop_var: zj_distro_pkgs
|
|
|
|
- name: Run Xvfb
|
|
shell: "/usr/bin/Xvfb :99 -screen 0 '1280x1024x24' -ac +extension GLX +render -noreset 2>&1 > /dev/null &"
|