Skip to content

Commit

Permalink
[ansible/docker] Make sure xhost is installed when not EGLFS
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Aug 1, 2024
1 parent 45836e4 commit 95ceb31
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ansible/roles/ovos_installer/tasks/docker/setup-Arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@
- docker
- docker-compose
update_cache: true

- name: Install xorg-xhost package
community.general.pacman:
name: xorg-xhost
when: ovos_installer_display_server != "N/A"
6 changes: 6 additions & 0 deletions ansible/roles/ovos_installer/tasks/docker/setup-Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,9 @@
- docker-buildx-plugin
- docker-compose-plugin
install_recommends: false

- name: Install x11-xserver-utils package
community.general.apt:
name: x11-xserver-utils
install_recommends: false
when: ovos_installer_display_server != "N/A"
5 changes: 5 additions & 0 deletions ansible/roles/ovos_installer/tasks/docker/setup-RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@
- docker-ce
- docker-ce-cli
- docker-ce-rootless-extras

- name: Install xorg-x11-server-utils package
community.general.dnf:
name: xorg-x11-server-utils
when: ovos_installer_display_server != "N/A"
5 changes: 5 additions & 0 deletions ansible/roles/ovos_installer/tasks/docker/setup-Suse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@
- docker
- docker-rootless-extras
- docker-compose

- name: Install xhost package
community.general.zypper:
name: xhost
when: ovos_installer_display_server != "N/A"

0 comments on commit 95ceb31

Please sign in to comment.