This role provides miscellaneous baseline configurations the community agrees are helpful
- Option to override shell timeout default of 900s (15min)
None
shell_timeout_seconds:
(default900
) Seconds before a shell session times out viaTMOUT=
environment variable set in /etc/profile.d/cis_profile.sh. Set to0
to disable shell timeout completely.system_default_umask
: (default077
) Set default umask for shell users in /etc/login.defs. NOTE: Per NIST recommendation, OIT sets at highly restrictive077
, prior systems defaulted to027
tmux_autodetach
: (defaulttrue
) Allow profile.d script to disconnect tmux sessions after a timeoutbaseline_install_mta
: (defaultfalse
) Whether to install email handling, by default that ispostfix
but packages can be changedbaseline_packages
: (seedefaults/main.yml
) RPM packages you would like installed on every machine
None
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: umn_baseline, shell_timeout_seconds: 0 }
MIT