Skip to content

Commit 7fd8a19

Browse files
authored
Merge pull request #783 from dev-sec/fed40
2 parents f1fc398 + e73f36d commit 7fd8a19

File tree

7 files changed

+18
-5
lines changed

7 files changed

+18
-5
lines changed

Diff for: .github/workflows/os_hardening.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
- centosstream9
4040
- rocky8
4141
- rocky9
42-
- fedora38
4342
- fedora39
43+
- fedora40
4444
- ubuntu1804
4545
- ubuntu2004
4646
- ubuntu2204

Diff for: .github/workflows/os_hardening_vm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
- generic/centos9s
4040
- generic/rocky8
4141
- generic/rocky9
42-
- fedora/38-cloud-base
4342
- fedora/39-cloud-base
43+
- fedora/40-cloud-base
4444
- generic/ubuntu1804
4545
- generic/ubuntu2004
4646
- generic/ubuntu2204

Diff for: .github/workflows/ssh_hardening.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
- centosstream9
4040
- rocky8
4141
- rocky9
42-
- fedora38
4342
- fedora39
43+
- fedora40
4444
- ubuntu1804
4545
- ubuntu2004
4646
- ubuntu2204

Diff for: .github/workflows/ssh_hardening_custom_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
- centosstream9
4040
- rocky8
4141
- rocky9
42-
- fedora38
4342
- fedora39
43+
- fedora40
4444
- ubuntu1804
4545
- ubuntu2004
4646
- ubuntu2204

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This collection provides battle tested hardening for:
1919
- Ubuntu 18.04/20.04/22.04
2020
- Amazon Linux (some roles supported)
2121
- Arch Linux (some roles supported)
22-
- Fedora 37/38 (some roles supported)
22+
- Fedora 39/40 (some roles supported)
2323
- Suse Tumbleweed (some roles supported)
2424
- MySQL
2525
- MariaDB >= 5.5.65, >= 10.1.45, >= 10.3.17

Diff for: molecule/os_hardening_vm/converge.yml

+12
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,24 @@
1414
os_mnt_tmp_src: tmpfs
1515
os_mnt_tmp_filesystem: tmpfs
1616
when: ansible_facts.os_family == 'Archlinux'
17+
1718
- name: Overrides for Fedora image
1819
ansible.builtin.set_fact:
1920
os_mnt_tmp_enabled: true
2021
os_mnt_tmp_src: tmpfs
2122
os_mnt_tmp_filesystem: tmpfs
2223
when: ansible_facts.distribution == 'Fedora'
24+
25+
- name: Overrides for Fedora 40 image
26+
ansible.builtin.set_fact:
27+
os_mnt_var_enabled: true
28+
os_mnt_var_src: UUID=282c6d73-afc2-4113-9856-c7679ad51920
29+
os_mnt_var_filesystem: btrfs
30+
os_mnt_var_options: rw,nosuid,nodev,compress=zstd:1,subvol=var
31+
when:
32+
- ansible_facts.distribution == 'Fedora'
33+
- ansible_distribution_major_version|int == 40
34+
2335
- name: Include os_hardening role
2436
ansible.builtin.include_role:
2537
name: devsec.hardening.os_hardening

Diff for: molecule/os_hardening_vm/prepare.yml

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
- python
6363
- findutils
6464
- procps-ng
65+
- python3-libselinux
6566
when: ansible_facts.distribution == 'Fedora'
6667

6768
- name: Install required tools on Arch

0 commit comments

Comments
 (0)