Remove unused files and variables
Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
1 parent
077900eadd
commit
2e3d5e916b
4 files changed
-119
No files matched your search
@@ -20,7 +20,6 @@
|
|||||||
os_security_suid_sgid_remove_from_unknown: true
|
os_security_suid_sgid_remove_from_unknown: true
|
||||||
os_auth_pam_passwdqc_enable: false
|
os_auth_pam_passwdqc_enable: false
|
||||||
os_auth_lockout_time: 15
|
os_auth_lockout_time: 15
|
||||||
os_desktop_enable: true
|
|
||||||
os_env_extra_user_paths: [/home]
|
os_env_extra_user_paths: [/home]
|
||||||
os_auth_allow_homeless: true
|
os_auth_allow_homeless: true
|
||||||
os_security_suid_sgid_blacklist: [/bin/umount]
|
os_security_suid_sgid_blacklist: [/bin/umount]
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
os_desktop_enable: false
|
|
||||||
os_env_user_paths: [/usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, /bin]
|
os_env_user_paths: [/usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, /bin]
|
||||||
os_env_extra_user_paths: []
|
os_env_extra_user_paths: []
|
||||||
os_auth_pw_max_age: 60
|
os_auth_pw_max_age: 60
|
||||||
|
|||||||
@@ -4,10 +4,6 @@ argument_specs:
|
|||||||
short_description: The main entry point for the os hardening role.
|
short_description: The main entry point for the os hardening role.
|
||||||
version_added: 8.8.0
|
version_added: 8.8.0
|
||||||
options:
|
options:
|
||||||
os_desktop_enable:
|
|
||||||
default: false
|
|
||||||
type: bool
|
|
||||||
description: true if this is a desktop system, ie Xorg, KDE/GNOME/Unity/etc.
|
|
||||||
os_env_user_paths:
|
os_env_user_paths:
|
||||||
default: [/usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, /bin]
|
default: [/usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, /bin]
|
||||||
type: list
|
type: list
|
||||||
|
|||||||
@@ -1,113 +0,0 @@
|
|||||||
{{ ansible_managed | comment }}
|
|
||||||
# Generated by Ansible role {{ ansible_role_name }}
|
|
||||||
|
|
||||||
# This file contains the names of kernel modules that should be loaded at boot time, one per line. Lines beginning with "#" are ignored.
|
|
||||||
#
|
|
||||||
# A list of all available kernel modules kann be found with `find /lib/modules/$(uname -r)/kernel/`
|
|
||||||
# We will sort by folder.
|
|
||||||
|
|
||||||
|
|
||||||
# Arch
|
|
||||||
# ----
|
|
||||||
#
|
|
||||||
# Modules for certains builds, contains support modules and some CPU-specific optimizations.
|
|
||||||
|
|
||||||
{% if ansible_facts.architecture == 'x86_64' %}
|
|
||||||
# Optimize for x86_64 cryptographic features
|
|
||||||
twofish-x86_64-3way
|
|
||||||
twofish-x86_64
|
|
||||||
aes-x86_64
|
|
||||||
salsa20-x86_64
|
|
||||||
blowfish-x86_64
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if 'AuthenticAMD' in ansible_facts.processor %}
|
|
||||||
# AMD-specific optimizations
|
|
||||||
kvm-amd
|
|
||||||
{% else %}
|
|
||||||
# Intel-specific optimizations
|
|
||||||
ghash-clmulni-intel
|
|
||||||
aesni-intel
|
|
||||||
kvm-intel
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
kvm
|
|
||||||
|
|
||||||
# Crypto
|
|
||||||
# ------
|
|
||||||
|
|
||||||
# Some core modules which comprise strong cryptography.
|
|
||||||
blowfish_common
|
|
||||||
blowfish_generic
|
|
||||||
ctr
|
|
||||||
cts
|
|
||||||
lrw
|
|
||||||
lzo
|
|
||||||
rmd160
|
|
||||||
rmd256
|
|
||||||
rmd320
|
|
||||||
serpent
|
|
||||||
sha512_generic
|
|
||||||
twofish_common
|
|
||||||
twofish_generic
|
|
||||||
xts
|
|
||||||
zlib
|
|
||||||
|
|
||||||
|
|
||||||
# Drivers
|
|
||||||
# -------
|
|
||||||
|
|
||||||
# Basics
|
|
||||||
lp
|
|
||||||
rtc
|
|
||||||
loop
|
|
||||||
|
|
||||||
# Filesystems
|
|
||||||
ext2
|
|
||||||
btrfs
|
|
||||||
|
|
||||||
{% if os_desktop_enable %}
|
|
||||||
# Desktop
|
|
||||||
psmouse
|
|
||||||
snd
|
|
||||||
snd_ac97_codec
|
|
||||||
snd_intel8x0
|
|
||||||
snd_page_alloc
|
|
||||||
snd_pcm
|
|
||||||
snd_timer
|
|
||||||
soundcore
|
|
||||||
usbhid
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
# Lib
|
|
||||||
# ---
|
|
||||||
xz
|
|
||||||
|
|
||||||
|
|
||||||
# Net
|
|
||||||
# ---
|
|
||||||
|
|
||||||
# All packets needed for netfilter rules (ie iptables, ebtables).
|
|
||||||
ip_tables
|
|
||||||
x_tables
|
|
||||||
iptable_filter
|
|
||||||
iptable_nat
|
|
||||||
|
|
||||||
# Targets
|
|
||||||
ipt_LOG
|
|
||||||
ipt_REJECT
|
|
||||||
|
|
||||||
# Modules
|
|
||||||
xt_connlimit
|
|
||||||
xt_tcpudp
|
|
||||||
xt_recent
|
|
||||||
xt_limit
|
|
||||||
xt_conntrack
|
|
||||||
nf_conntrack
|
|
||||||
nf_conntrack_ipv4
|
|
||||||
nf_defrag_ipv4
|
|
||||||
xt_state
|
|
||||||
nf_nat
|
|
||||||
|
|
||||||
# Addons
|
|
||||||
xt_pknock
|
|
||||||
Reference in new issue
Block a user