mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-09-20 13:21:52 +00:00
Change oneliner if-statements to be more readable
This commit is contained in:
parent
40c2d36ddb
commit
9befb22e13
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ LOGIN_TIMEOUT {{os_auth_timeout}}
|
|||
CHFN_RESTRICT {{ os_chfn_restrict }}
|
||||
{% endif %}
|
||||
# Should login be allowed if we can't cd to the home directory?
|
||||
DEFAULT_HOME {% if os_auth_allow_homeless -%}yes{% else -%}no{% endif %}
|
||||
DEFAULT_HOME {{ 'yes' if os_auth_allow_homeless else 'no' }}
|
||||
|
||||
# If defined, this command is run when removing a user.
|
||||
# It should remove any at/cron/print jobs etc. owned by
|
||||
|
|
Loading…
Reference in a new issue