Skip to content

Commit 36c6dac

Browse files
MichaelTripsamhed
andcommitted
Add configuration for Web Access & Web Adm ports
The Web Access part of this was written by Michael Trip in PR #5. Co-authored-by: Samuel Mannehed <samuel@cendio.se>
1 parent a526d62 commit 36c6dac

4 files changed

Lines changed: 35 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ 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
1314

1415
## [1.10] - 2024-02-01
1516

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,22 @@ 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_webadm_port: 1010
76+
```
77+
78+
The port on which the ThinLinc Web Administration service listens on. See
79+
[the documentation for this
80+
parameter](https://www.cendio.com/resources/docs/tag-devel/html/config_tlwebadm.html#server-config-tlwebadm-listen_port).
81+
6682
```yaml
6783
thinlinc_webadm_password: "$6$7cc31a35e02e55ec$hm.1MsloeBJqNKljx9RH88Z/eRKZCka5ZlabkZGj0nYXh0IaxaiYucsDD.fGJ5sNPthWf63pXkCn9Nu0ua2Ye1"
6884
```

defaults/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ 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 port on which the tlwebadm service should listen
19+
thinlinc_webadm_port: 1010
20+
1521
# ThinLinc Web Administration password. This default password is
1622
# "thinlinc". Generate new hashes with /opt/thinlinc/sbin/tl-gen-auth.
1723
thinlinc_webadm_password: "$6$7cc31a35e02e55ec$hm.1MsloeBJqNKljx9RH88Z/eRKZCka5ZlabkZGj0nYXh0IaxaiYucsDD.fGJ5sNPthWf63pXkCn9Nu0ua2Ye1"

tasks/main.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,15 @@
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 /tlwebadm/listen_port
101+
tlconfig:
102+
param: /tlwebadm/listen_port
103+
value: "{{ thinlinc_webadm_port }}"
104+
notify: restart tlwebadm

0 commit comments

Comments
 (0)