This commit is contained in:
parent
51fb64c770
commit
f6adaca386
@ -14,7 +14,6 @@ users_default_users: []
|
|||||||
users_default_groups: []
|
users_default_groups: []
|
||||||
|
|
||||||
users_global_umask: "022"
|
users_global_umask: "022"
|
||||||
users_session_timeout: 300
|
|
||||||
users_pass_min_day: 1
|
users_pass_min_day: 1
|
||||||
|
|
||||||
users_global_bash_aliases:
|
users_global_bash_aliases:
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
#jinja2:lstrip_blocks: True
|
#jinja2:lstrip_blocks: True
|
||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
|
||||||
TMOUT={{ users_session_timeout }}
|
|
||||||
readonly TMOUT
|
|
||||||
export TMOUT
|
|
||||||
|
|
||||||
# are we an interactive shell?
|
# are we an interactive shell?
|
||||||
if [ "$PS1" ]; then
|
if [ "$PS1" ]; then
|
||||||
if [[ ${EUID} == 0 ]] ; then
|
if [[ ${EUID} == 0 ]] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user