Skip to content

Commit 6d458fe

Browse files
authored
Merge pull request #48 from pewo/master
Fixed opensuse installation issuses
2 parents 6bd7518 + 0df8c78 commit 6d458fe

3 files changed

Lines changed: 14 additions & 5 deletions

File tree

CHANGELOG.md

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

1010
### Changed
1111

12+
- Update SUSE usr merge workaround to match SLES 16 changes
13+
1214
## [1.13] - 2025-07-09
1315

1416
### Changed

tasks/copy_usr_etc_pam_sshd.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,24 @@
99
- name: Check /usr/etc/pam.d/sshd
1010
stat:
1111
path: /usr/etc/pam.d/sshd
12-
register: usr_etc_pam_sshd
12+
register: locate_pam_sshd
1313

14-
- name: Copy /usr/etc/pam.d/sshd to /etc/pam.d/sshd
14+
- name: Check /usr/lib/pam.d/sshd
15+
stat:
16+
path: /usr/lib/pam.d/sshd
17+
register: locate_pam_sshd
18+
when: locate_pam_sshd.stat.exists is defined
19+
and not locate_pam_sshd.stat.exists
20+
21+
- name: Copy located pam.d/sshd to /etc/pam.d/sshd
1522
copy:
16-
src: /usr/etc/pam.d/sshd
23+
src: "{{ locate_pam_sshd.stat.path }}"
1724
dest: /etc/pam.d/sshd
1825
owner: root
1926
group: root
2027
mode: '0644'
2128
remote_src: true
22-
when: usr_etc_pam_sshd.stat.exists == true
29+
when: locate_pam_sshd.stat.exists is defined
30+
and locate_pam_sshd.stat.exists == true
2331

2432
when: etc_pam_sshd.stat.exists == false

tasks/install-thinlinc-suse.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
---
32
- name: Locate 32-bit packages
43
find:
54
paths: "/root/tl-{{ thinlinc_version }}-server/packages"

0 commit comments

Comments
 (0)