image-deploy.yaml / build-push-image (push) Successful in 47s
modified: roles/host_maintenance/tasks/systemd_mount.yaml modified: roles/host_maintenance/templates/systemd_mount.j2
26 lines
635 B
Django/Jinja
26 lines
635 B
Django/Jinja
# set by ansible role mylimbo.globals.host_maintenance role, do not edit manually
|
|
[Unit]
|
|
Description=Mount {{ item.target }} managed by mylimbo.globals collections, host_maintenance role
|
|
|
|
{% if item.unit_after is defined %}
|
|
# After dependencies
|
|
After={{ item.unit_after }}
|
|
{% endif %}
|
|
|
|
{% if item.unit_before is defined %}
|
|
# Before dependencies
|
|
Before={{ item.unit_before }}
|
|
{% endif %}
|
|
|
|
[Mount]
|
|
What={{ item.source }}
|
|
Where={{ item.target }}
|
|
Type={{ item.mount_type }}
|
|
|
|
{% if item.mount_options is defined %}
|
|
# Mount options, if specified
|
|
Options={{ item.mount_options | join(',') }}
|
|
{% endif %}
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |