Quick fix; task shuffle back

This commit is contained in:
2025-03-06 00:10:08 -05:00
parent 25e7b03bef
commit 1cbc9699d8

View File

@ -1,4 +1,12 @@
---
- name: Ensure share directory exists
ansible.builtin.file:
path: "{{ rear_vars_nfs_base }}/{{ rear_backup_workflow }}"
state: directory
mode: "0777"
owner: root
group: root
# We should use Ansible to determine disk space, not command/shell (refactor):
- name: Check disk space on ReaR Backup filesystem for NFS servers
ansible.builtin.shell: |
@ -18,14 +26,6 @@
when:
- client_ips is not defined
- name: Ensure share directory exists
ansible.builtin.file:
path: "{{ rear_vars_nfs_base }}/{{ rear_backup_workflow }}"
state: directory
mode: "0777"
owner: root
group: root
- name: Add remote hosts to /etc/exports
ansible.builtin.lineinfile:
path: /etc/exports