Skip to content

Commit db0e6b8

Browse files
authored
Merge pull request #53 from aeneby/remove-32-bit-support
Remove support for 32-bit packages
2 parents 6d458fe + 39c14f8 commit db0e6b8

5 files changed

Lines changed: 16 additions & 78 deletions

File tree

CHANGELOG.md

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

1212
- Update SUSE usr merge workaround to match SLES 16 changes
1313

14+
### Removed
15+
16+
- Support for 32-bit server packages
17+
1418
## [1.13] - 2025-07-09
1519

1620
### Changed

tasks/install-thinlinc-debian.yml

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,22 @@
11
---
2-
- name: Locate 32-bit packages
3-
find:
4-
paths: "/root/tl-{{ thinlinc_version }}-server/packages"
5-
patterns:
6-
- "thinlinc*i386.deb"
7-
- "thinlinc*all.deb"
8-
when: ansible_architecture == 'i386'
9-
register: _packages_32bit
10-
11-
- name: Locate 64-bit packages
2+
- name: Locate server packages
123
find:
134
paths: "/root/tl-{{ thinlinc_version }}-server/packages"
145
patterns:
156
- "thinlinc*amd64.deb"
167
- "thinlinc*all.deb"
17-
when: ansible_architecture == 'x86_64'
18-
register: _packages_64bit
8+
register: _packages
199

2010
# The apt provider actually calls dpkg for local packages, which isn't
2111
# clever enough to handle our upgrades:
2212
# https://github.com/ansible/ansible/issues/77150
2313
#
24-
- name: Install 32-bit ThinLinc Software
25-
command: >
26-
/usr/bin/apt-get install -y
27-
-o Dpkg::Options::="--no-debsig"
28-
-o Dpkg::Options::="--force-confold"
29-
{{ _packages_32bit.files | map(attribute='path') | join(' ') }}
30-
environment:
31-
DEBIAN_FRONTEND: noninteractive
32-
when: _packages_32bit is not skipped
33-
notify: run tl-setup
34-
35-
- name: Install 64-bit ThinLinc Software
14+
- name: Install ThinLinc Software
3615
command: >
3716
/usr/bin/apt-get install -y
3817
-o Dpkg::Options::="--no-debsig"
3918
-o Dpkg::Options::="--force-confold"
40-
{{ _packages_64bit.files | map(attribute='path') | join(' ') }}
19+
{{ _packages.files | map(attribute='path') | join(' ') }}
4120
environment:
4221
DEBIAN_FRONTEND: noninteractive
43-
when: _packages_64bit is not skipped
4422
notify: run tl-setup

tasks/install-thinlinc-rhel.yml

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,15 @@
11
---
2-
- name: Locate 32-bit packages
3-
find:
4-
paths: "/root/tl-{{ thinlinc_version }}-server/packages"
5-
patterns:
6-
- "thinlinc*i686.rpm"
7-
- "thinlinc*noarch.rpm"
8-
when: ansible_architecture == 'i386'
9-
register: _packages_32bit
10-
11-
- name: Locate 64-bit packages
2+
- name: Locate server packages
123
find:
134
paths: "/root/tl-{{ thinlinc_version }}-server/packages"
145
patterns:
156
- "thinlinc*x86_64.rpm"
167
- "thinlinc*noarch.rpm"
17-
when: ansible_architecture == 'x86_64'
18-
register: _packages_64bit
19-
20-
- name: Install 32-bit ThinLinc Software
21-
yum:
22-
name: "{{ _packages_32bit.files | map(attribute='path') | list }}"
23-
state: present
24-
disable_gpg_check: true
25-
when: _packages_32bit is not skipped
26-
notify: run tl-setup
8+
register: _packages
279

28-
- name: Install 64-bit ThinLinc Software
10+
- name: Install ThinLinc Software
2911
yum:
30-
name: "{{ _packages_64bit.files | map(attribute='path') | list }}"
12+
name: "{{ _packages.files | map(attribute='path') | list }}"
3113
state: present
3214
disable_gpg_check: true
33-
when: _packages_64bit is not skipped
3415
notify: run tl-setup

tasks/install-thinlinc-suse.yml

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,15 @@
11
---
2-
- name: Locate 32-bit packages
3-
find:
4-
paths: "/root/tl-{{ thinlinc_version }}-server/packages"
5-
patterns:
6-
- "thinlinc*i686.rpm"
7-
- "thinlinc*noarch.rpm"
8-
when: ansible_architecture == 'i386'
9-
register: _packages_32bit
10-
11-
- name: Locate 64-bit packages
2+
- name: Locate server packages
123
find:
134
paths: "/root/tl-{{ thinlinc_version }}-server/packages"
145
patterns:
156
- "thinlinc*x86_64.rpm"
167
- "thinlinc*noarch.rpm"
17-
when: ansible_architecture == 'x86_64'
18-
register: _packages_64bit
19-
20-
- name: Install 32-bit ThinLinc Software
21-
zypper:
22-
name: "{{ _packages_32bit.files | map(attribute='path') | list }}"
23-
state: present
24-
disable_gpg_check: true
25-
when: _packages_32bit is not skipped
26-
notify: run tl-setup
8+
register: _packages
279

28-
- name: Install 64-bit ThinLinc Software
10+
- name: Install ThinLinc Software
2911
zypper:
30-
name: "{{ _packages_64bit.files | map(attribute='path') | list }}"
12+
name: "{{ _packages.files | map(attribute='path') | list }}"
3113
state: present
3214
disable_gpg_check: true
33-
when: _packages_64bit is not skipped
3415
notify: run tl-setup

tasks/main.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
---
2-
- name: Ensure architecture is supported by current version
3-
assert:
4-
that: thinlinc_version is version('4.14.0', '<=')
5-
msg: "32-bit architecture not supported by this version"
6-
when: ansible_architecture == 'i386'
7-
82
- name: Installing pre-requisites
93
package:
104
name: unzip

0 commit comments

Comments
 (0)