ansible-role-common/templates/hostname.j2

1 line
38 B
Django/Jinja

{{ inventory_hostname.split(".")[0] }}