add sysctl exclude

Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
Martin Schurz committed 2022-07-11 09:39:52 +02:00
1 parent 5d50b5b130
commit 0f631c1405
2 files changed
+6 -6

No files matched your search

+5 -5
View File
@@ -23,11 +23,11 @@ jobs:
matrix: matrix:
molecule_distro: molecule_distro:
- centos7 - centos7
##- rocky8 - rocky8
##- ubuntu1804 - ubuntu1804
##- ubuntu2004 - ubuntu2004
##- debian9 - debian9
##- debian10 - debian10
# - opensuse42 # opensuse currently cannot get an ip address # - opensuse42 # opensuse currently cannot get an ip address
# - arch - arch is currently not supported by cinc-auditor # - arch - arch is currently not supported by cinc-auditor
steps: steps:
+1 -1
View File
@@ -68,7 +68,7 @@
reload: true reload: true
ignoreerrors: true ignoreerrors: true
with_dict: '{{ sysctl_config }}' with_dict: '{{ sysctl_config }}'
when: item.key not in sysctl_unsupported_entries when: item.key not in sysctl_unsupported_entries | default()
when: ansible_virtualization_type not in ['docker', 'lxc', 'openvz'] when: ansible_virtualization_type not in ['docker', 'lxc', 'openvz']
- name: Apply ufw defaults - name: Apply ufw defaults