blob: 2180d6598177bc099d7ff6fe69211458f8de5849 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
---
- name: "Create backup mount point"
become: true
ansible.builtin.file:
path: "{{ backup_mount_point }}"
state: "directory"
owner: "root"
group: "root"
mode: "0755"
- name: "Mount backup drive"
become: true
ansible.posix.mount:
path: "{{ backup_mount_point }}"
src: "{{ backup_device }}"
fstype: "{{ backup_fstype }}"
opts: "{{ backup_mount_options }}"
state: "mounted"
|