add rocky linux 8 tests and make sure that all relevant tasks are execd (#457)

* add rocky linux 8 tests and make sure that all relevant tasks are executed

Signed-off-by: rndmh3ro <[email protected]>

* fix missing quote

Signed-off-by: rndmh3ro <[email protected]>
This commit is contained in:
Sebastian Gumprich authored and GitHub committed 2021-06-30 13:09:12 +02:00
1 parent 2a43ad9cc6
commit 72ec118a6d
7 files changed
+7 -2

No files matched your search

+1
View File
@@ -24,6 +24,7 @@ jobs:
molecule_distro: molecule_distro:
- centos7 - centos7
- centos8 - centos8
- rocky8
- ubuntu1804 - ubuntu1804
- ubuntu2004 - ubuntu2004
- debian9 - debian9
+1
View File
@@ -24,6 +24,7 @@ jobs:
molecule_distro: molecule_distro:
- centos7 - centos7
- centos8 - centos8
- rocky8
- ubuntu1804 - ubuntu1804
- ubuntu2004 - ubuntu2004
- debian9 - debian9
+1
View File
@@ -24,6 +24,7 @@ jobs:
molecule_distro: molecule_distro:
- centos7 - centos7
- centos8 - centos8
- rocky8
- ubuntu1804 - ubuntu1804
- ubuntu2004 - ubuntu2004
- debian9 - debian9
+1
View File
@@ -24,6 +24,7 @@ jobs:
molecule_distro: molecule_distro:
- centos7 - centos7
- centos8 - centos8
- rocky8
- fedora - fedora
- ubuntu1804 - ubuntu1804
- ubuntu2004 - ubuntu2004
+1
View File
@@ -11,6 +11,7 @@ This collection provides battle tested hardening for:
- Linux operating systems: - Linux operating systems:
- CentOS 7/8 - CentOS 7/8
- Rocky Linux 8
- Debian 9/10 - Debian 9/10
- Ubuntu 16.04/18.04/20.04 - Ubuntu 16.04/18.04/20.04
- Amazon Linux (some roles supported) - Amazon Linux (some roles supported)
+1 -1
View File
@@ -16,7 +16,7 @@
owner: 'root' owner: 'root'
group: 'root' group: 'root'
mode: '0544' mode: '0544'
when: ansible_facts.distribution in ['Amazon', 'CentOS', 'Fedora', 'RedHat'] when: ansible_facts.os_family == 'RedHat'
- name: Install initramfs-tools - name: Install initramfs-tools
apt: apt:
@@ -16,7 +16,7 @@
owner: "{{ ssh_host_keys_owner }}" owner: "{{ ssh_host_keys_owner }}"
group: "{{ ssh_host_keys_group }}" group: "{{ ssh_host_keys_group }}"
mode: "0640" mode: "0640"
when: "ansible_facts.distribution in ['CentOS', 'OracleLinux', 'RedHat']" when: "ansible_facts.os_family == 'RedHat'"
- name: Set hostkeys according to openssh-version if openssh >= 5.3 - name: Set hostkeys according to openssh-version if openssh >= 5.3
set_fact: set_fact: