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+
This commit is contained in:
@@ -9,10 +9,11 @@
|
||||
name:
|
||||
- x2goserver
|
||||
- x2goserver-xsession
|
||||
- x2gobroker-daemon
|
||||
- x2goserver-printing
|
||||
- cups-x2go
|
||||
state: present
|
||||
when:
|
||||
- ansible_os_family == "Debian"
|
||||
- ansible_facts.os_family == "Debian"
|
||||
- "groups['x2go_server']|string is search(inventory_hostname)"
|
||||
tags:
|
||||
- x2g--server
|
||||
|
||||
Reference in New Issue
Block a user