ansible-collection-hardening/templates/securetty.j2
Fazle Arefin 6cbc26040f Add comment filter to {{ansible_managed}} string
- multiline {{ansible_managed}} strings do not get properly commented
without the comment filter (see
http://docs.ansible.com/ansible/playbooks_filters.html#comment-filter )
2017-07-07 11:49:33 +10:00

6 lines
152 B
Django/Jinja

# {{ ansible_managed | comment }}
# A list of TTYs, from which root can log in
# see `man securetty` for reference
{{ "\n".join(os_auth_root_ttys) }}