{{ "=" * (hostname|length) }} {{ hostname.replace("\n", "") }} {{ "=" * (hostname|length) }} :os: {{ os["NAME"] }} :version: {{ os["VERSION"] }} {% if extend_exists %}{% include "{hostname}.rst.j2".format(hostname=hostname) %}{% endif %}