File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 4545 fail-fast : false
4646 matrix :
4747 image :
48+ - " ghcr.io/hifis-net/almalinux-systemd:9"
49+ - " ghcr.io/hifis-net/almalinux-systemd:10"
4850 - " ghcr.io/hifis-net/ubuntu-systemd:22.04"
4951 - " ghcr.io/hifis-net/ubuntu-systemd:24.04"
5052 - " ghcr.io/hifis-net/debian-systemd:11"
Original file line number Diff line number Diff line change 2121 state : " present"
2222 update_cache : true
2323
24+ # Workaround to prevent "sudo: PAM account management error" on AlmaLinux
25+ - name : " Get file stats for /etc/shadow"
26+ ansible.builtin.stat :
27+ path : " /etc/shadow"
28+ register : " shadow"
29+
30+ - name : " Output file stats for /etc/shadow"
31+ ansible.builtin.debug :
32+ var : " shadow"
33+
34+ - name : " Fix permissions for /etc/shadow"
35+ ansible.builtin.file :
36+ path : " /etc/shadow"
37+ owner : " root"
38+ group : " {{ shadow.stat.gr_name }}"
39+ mode : " 0640"
40+ when : " not shadow.stat.rusr"
41+
2442 - name : " Install depenencies for OS family Debian"
2543 when : " ansible_facts.os_family == 'Debian'"
2644 block :
Original file line number Diff line number Diff line change 1010 ansible.builtin.package :
1111 name : " {{ gitlab_dependencies }}"
1212 state : " present"
13+ allowerasing : " {{ true if ansible_facts['os_family'] == 'RedHat' else omit }}"
1314
1415- name : " Prepare Debian GitLab installation"
1516 when : " ansible_facts.os_family == 'Debian'"
7172 gpgkey :
7273 - " {{ gitlab_gpg_key_url }}"
7374 - " {{ gitlab_gpg_key_url }}/gitlab-{{ gitlab_edition }}-3D645A26AB9FBD22.pub.gpg"
75+ - " {{ gitlab_gpg_key_url }}/gitlab-{{ gitlab_edition }}-CB947AD886C8E8FD.pub.gpg"
7476 sslverify : true
7577 sslcacert : " /etc/pki/tls/certs/ca-bundle.crt"
7678 metadata_expire : " 300"
8789 gpgkey :
8890 - " {{ gitlab_gpg_key_url }}"
8991 - " {{ gitlab_gpg_key_url }}/gitlab-{{ gitlab_edition }}-3D645A26AB9FBD22.pub.gpg"
92+ - " {{ gitlab_gpg_key_url }}/gitlab-{{ gitlab_edition }}-CB947AD886C8E8FD.pub.gpg"
9093 sslverify : true
9194 sslcacert : " /etc/pki/tls/certs/ca-bundle.crt"
9295 metadata_expire : " 300"
You can’t perform that action at this time.
0 commit comments