blob: c3ef5b6476e8bbf1af7373aad1737386a5fd0c4d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
- name: 'Mount volume: {{ digitalocean_volume_name }}'
become: true
ansible.posix.mount:
path: "{{ digitalocean_volume_dir }}"
src: '/dev/disk/by-id/scsi-0DO_Volume_{{ digitalocean_volume_name }}'
state: mounted
fstype: '{{ digitalocean_volume_fs }}'
opts: defaults,nofail,discard
- name: Set up service dependencies
ansible.builtin.include_role:
name: systemd_depend_mount
vars:
systemd_depend_mount_dir: '{{ digitalocean_volume_dir }}'
systemd_depend_mount_services: '{{ digitalocean_volume_dependent_services }}'
|