Skip to content

Commit 6410106

Browse files
committed
Make groups optional again
Allow people to use this role for single machines without defining any master or agent groups.
1 parent 9a97854 commit 6410106

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/thinlinc-setup.answers.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ setup-firewall=yes
66
setup-selinux=yes
77
setup-web-integration=yes
88
setup-apparmor=yes
9-
{% if ansible_fqdn in groups['thinlinc_masters'] %}
9+
{% if ('thinlinc_masters' not in group_names) or (ansible_fqdn in groups['thinlinc_masters']) %}
1010
server-type=master
1111
{% else %}
1212
server-type=agent

0 commit comments

Comments
 (0)