# {{ ansible_managed }} [Unit] Description=Auto mount for {{ item.where | default(item.what) }} [{{ (item.type == 'swap') | ternary('Swap', 'Mount') }}] What={{ item.what }} {% if item.type == 'swap' %} Priority={{ item.priority | default(0) }} {% else %} Where={{ item.where }} Type={{ item.type }} {% endif %} Options={{ item.options | default(systemd_default_mount_options) }} [Install] WantedBy=multi-user.target