Make fsid dynamic; Add backup validation - verify rear_force_backup
This commit is contained in:
@ -39,7 +39,11 @@
|
||||
path: /etc/exports
|
||||
state: present
|
||||
line: "{{ rear_nfs_export_share }} {{ _options }}"
|
||||
create: true
|
||||
mode: "0644"
|
||||
owner: root
|
||||
group: root
|
||||
loop: "{{ client_ips | list | flatten }}"
|
||||
vars:
|
||||
_options: "{{ item }}(fsid=0,rw,sync,no_subtree_check,crossmnt)"
|
||||
_options: "{{ item }}(fsid={{ rear_nfs_export_fsid }},rw,sync,no_subtree_check,crossmnt)"
|
||||
notify: Export share
|
||||
|
@ -1,2 +1,3 @@
|
||||
---
|
||||
rear_nfs_export_share: "/backups/standalone"
|
||||
rear_nfs_export_fsid: 0
|
||||
|
Reference in New Issue
Block a user