|
1 | 1 | # {{ ansible_managed }} |
2 | | -install-gtk={{ thinlinc_autoinstall_dependencies }} |
| 2 | +install-gtk={{ thinlinc_autoinstall_dependencies | ternary('yes', 'no', 'no') }} |
3 | 3 | email-address={{ thinlinc_email }} |
4 | | -install-python-ldap={{ thinlinc_autoinstall_dependencies }} |
| 4 | +install-python-ldap={{ thinlinc_autoinstall_dependencies | ternary('yes', 'no', 'no') }} |
5 | 5 | setup-firewall=yes |
6 | 6 | setup-selinux=yes |
7 | 7 | setup-web-integration=yes |
8 | 8 | setup-apparmor=yes |
9 | | -{% if ansible_fqdn in groups['thinlinc_masters'] %} |
| 9 | +{% if ansible_facts['fqdn'] in groups['thinlinc_masters'] %} |
10 | 10 | server-type=master |
11 | 11 | {% else %} |
12 | 12 | server-type=agent |
13 | 13 | {% endif %} |
14 | 14 | missing-answer=abort |
15 | | -install-nfs={{ thinlinc_autoinstall_dependencies }} |
16 | | -install-sshd={{ thinlinc_autoinstall_dependencies }} |
17 | | -accept-eula={{ thinlinc_accept_eula }} |
| 15 | +install-nfs={{ thinlinc_autoinstall_dependencies | ternary('yes', 'no', 'no') }} |
| 16 | +install-sshd={{ thinlinc_autoinstall_dependencies | ternary('yes', 'no', 'no') }} |
| 17 | +accept-eula={{ thinlinc_accept_eula | ternary('yes', 'no', 'no') }} |
18 | 18 | migrate-conf={{ thinlinc_tlsetup_migrate_conf }} |
19 | | -install-required-libs={{ thinlinc_autoinstall_dependencies }} |
20 | | -setup-nearest={{ thinlinc_printers }} |
21 | | -setup-thinlocal={{ thinlinc_printers }} |
| 19 | +install-required-libs={{ thinlinc_autoinstall_dependencies | ternary('yes', 'no', 'no') }} |
| 20 | +setup-nearest={{ thinlinc_printers | ternary('yes', 'no', 'no') }} |
| 21 | +setup-thinlocal={{ thinlinc_printers | ternary('yes', 'no', 'no') }} |
22 | 22 | tlwebadm-password={{ thinlinc_webadm_password }} |
0 commit comments