thinlinc: Set some default options

This commit is contained in:
Timo Makinen 2021-06-26 20:02:01 +00:00
parent 71d585aeec
commit 4bf65be84f

View file

@ -11,3 +11,31 @@
package: package:
name: thinlinc-client name: thinlinc-client
state: installed state: installed
- name: set default server name
lineinfile:
path: /opt/thinlinc/etc/tlclient.conf
regexp: '^SERVER_NAME='
line: "SERVER_NAME=shell.foo.sh"
- name: disable fullscreen mode
lineinfile:
path: /opt/thinlinc/etc/tlclient.conf
regexp: '^{{ item }}='
line: "{{ item }}=0"
with_items:
- FULL_SCREEN_MODE
- FULL_SCREEN_ALL_MONITORS
- name: set default screen size
lineinfile:
path: /opt/thinlinc/etc/tlclient.conf
regexp: '^SCREEN_SIZE_SELECTION='
line: "SCREEN_SIZE_SELECTION=2"
- name: use kerberos authentication
lineinfile:
path: /opt/thinlinc/etc/tlclient.conf
regexp: '^AUTHENTICATION_METHOD='
line: "AUTHENTICATION_METHOD=kerberos"
when: kerberos_realm is defined