aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/systemd_requires_mounts_for/tasks/main.yml
blob: c7b75425dc00c354468d9ab96c96608f7963f421 (plain) (blame)
1
2
3
4
5
6
7
- name: Set up a service to require a mounted directory
  ansible.builtin.include_role:
    name: systemd_edit
  vars:
    service_section: Unit
    service_option: RequiresMountsFor
    service_values: ['{{ mount_dir }}']