Files
oopen-server/roles/common/tasks/x2go-server.yml
Christoph 055290e555 Update: Replace deprecated ansible_os_family with ansible_facts.os_family
- x2go-server.yml: Updated condition to use ansible_facts.os_family
- upgrade.yml: Updated all conditions and commented lines
- caching-nameserver.yml: Updated RedHat OS family checks

Fixes deprecation warning in Ansible 2.12+
2026-03-10 11:09:25 +01:00

23 lines
374 B
YAML

---
# ---
# NFS Server
# ---
- name: (x2g-server.yml) Ensure X2Go server packages are installed.
apt:
name:
- x2goserver
- x2goserver-xsession
- x2goserver-printing
- cups-x2go
state: present
when:
- ansible_facts.os_family == "Debian"
- "groups['x2go_server']|string is search(inventory_hostname)"
tags:
- x2g--server