From 36c73bc99c6c090cb0f2b65e400d0422eeff0677 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Tue, 9 Sep 2025 01:37:22 +0800 Subject: [PATCH] Update setup script --- inventory/hosts | 9 +++++---- roles/tasks/debian/setup.yml | 10 ++++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/inventory/hosts b/inventory/hosts index f3fa40e..b3ab492 100644 --- a/inventory/hosts +++ b/inventory/hosts @@ -2,7 +2,8 @@ # Hyper-V Test Nodes # 172.22.90.75 ansible_ssh_common_args="-o StrictHostKeyChecking=no" # Bare Metal Nodes -10.0.10.169 ansible_ssh_common_args="-o StrictHostKeyChecking=no" -10.0.10.4 ansible_ssh_common_args="-o StrictHostKeyChecking=no" -10.0.10.141 ansible_ssh_common_args="-o StrictHostKeyChecking=no" -10.0.10.115 ansible_ssh_common_args="-o StrictHostKeyChecking=no" \ No newline at end of file +# 10.0.10.169 ansible_ssh_common_args="-o StrictHostKeyChecking=no" +# 10.0.10.4 ansible_ssh_common_args="-o StrictHostKeyChecking=no" +# 10.0.10.141 ansible_ssh_common_args="-o StrictHostKeyChecking=no" +# 10.0.10.115 ansible_ssh_common_args="-o StrictHostKeyChecking=no" +10.0.10.142 ansible_ssh_common_args="-o StrictHostKeyChecking=no" diff --git a/roles/tasks/debian/setup.yml b/roles/tasks/debian/setup.yml index 0f3094d..992da19 100644 --- a/roles/tasks/debian/setup.yml +++ b/roles/tasks/debian/setup.yml @@ -95,6 +95,16 @@ dest: /root/.samba/ mode: "0644" force: false + - name: Ensure mount directory for backups_a exists + file: + path: /mnt/backups_a/ + state: directory + mode: "0700" + - name: Ensure mount directory for backups_b exists + file: + path: /mnt/backups_b/ + state: directory + mode: "0700" handlers: # Restart Syncthing on Config Change