Skip to content

Commit bd8d4b8

Browse files
authored
Merge pull request #40 from cendio/portconfig
Add configuration for Web Access & Web Admin ports
2 parents 1f09cba + da7ed17 commit bd8d4b8

4 files changed

Lines changed: 55 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Changed
1111

1212
- Updated to 4.17.0
13+
- Added configuration for Web Access & Web Administration ports
14+
- Added configuration for Web Access login page
1315

1416
## [1.10] - 2024-02-01
1517

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,38 @@ thinlinc_printers: "yes"
6363
6464
Whether to install the optional CUPS printer queues for ThinLinc.
6565
66+
```yaml
67+
thinlinc_webaccess_port: 443
68+
```
69+
70+
The port on which the ThinLinc Web Access service listens on. See
71+
[the documentation for this
72+
parameter](https://www.cendio.com/resources/docs/tag-devel/html/config_webaccess.html#server-config-webaccess-listen_port).
73+
74+
```yaml
75+
thinlinc_webaccess_login_page: "tl-master-01.example.com"
76+
```
77+
78+
The URL to the login page of ThinLinc Web Access on the master server.
79+
See [the documentation for this
80+
parameter](https://www.cendio.com/resources/docs/tag-devel/html/config_webaccess.html#server-config-webaccess-login_page).
81+
82+
```yaml
83+
thinlinc_webadm_port: 1010
84+
```
85+
86+
The port on which the ThinLinc Web Administration service listens on. See
87+
[the documentation for this
88+
parameter](https://www.cendio.com/resources/docs/tag-devel/html/config_tlwebadm.html#server-config-tlwebadm-listen_port).
89+
6690
```yaml
6791
thinlinc_webadm_password: "$6$7cc31a35e02e55ec$hm.1MsloeBJqNKljx9RH88Z/eRKZCka5ZlabkZGj0nYXh0IaxaiYucsDD.fGJ5sNPthWf63pXkCn9Nu0ua2Ye1"
6892
```
6993
7094
ThinLinc Web Administration password. This default password is
7195
"thinlinc". Generate new hashes with `/opt/thinlinc/sbin/tl-gen-auth`.
96+
See [the documentation for this
97+
parameter](https://www.cendio.com/resources/docs/tag-devel/html/config_tlwebadm.html#server-config-tlwebadm-password).
7298

7399
```yaml
74100
thinlinc_agent_hostname: null

defaults/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ thinlinc_autoinstall_dependencies: "yes"
1212
thinlinc_email: "root@localhost"
1313
thinlinc_printers: "yes"
1414

15+
# The port on which the tlwebaccess service should listen
16+
thinlinc_webaccess_port: 300
17+
18+
# The URL to the login page of Web Access on the master server
19+
thinlinc_webaccess_login_page: "/"
20+
21+
# The port on which the tlwebadm service should listen
22+
thinlinc_webadm_port: 1010
23+
1524
# ThinLinc Web Administration password. This default password is
1625
# "thinlinc". Generate new hashes with /opt/thinlinc/sbin/tl-gen-auth.
1726
thinlinc_webadm_password: "$6$7cc31a35e02e55ec$hm.1MsloeBJqNKljx9RH88Z/eRKZCka5ZlabkZGj0nYXh0IaxaiYucsDD.fGJ5sNPthWf63pXkCn9Nu0ua2Ye1"

tasks/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,21 @@
9090
value: "{{ groups['thinlinc_agents'] | default(['localhost'], true) | join(' ') }}"
9191
notify: restart vsmserver
9292
when: "'thinlinc_masters' in group_names"
93+
94+
- name: Configure /webaccess/listen_port
95+
tlconfig:
96+
param: /webaccess/listen_port
97+
value: "{{ thinlinc_webaccess_port }}"
98+
notify: restart tlwebaccess
99+
100+
- name: Configure /webaccess/login_page
101+
tlconfig:
102+
param: /webaccess/login_page
103+
value: "{{ thinlinc_webaccess_login_page }}"
104+
notify: restart tlwebaccess
105+
106+
- name: Configure /tlwebadm/listen_port
107+
tlconfig:
108+
param: /tlwebadm/listen_port
109+
value: "{{ thinlinc_webadm_port }}"
110+
notify: restart tlwebadm

0 commit comments

Comments
 (0)