From 19d3e3d02cabf9787dc54e7a20ffb3a5a41e3040 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Mon, 13 Jan 2025 00:37:47 +0800 Subject: [PATCH] Update setup script --- inventory/hosts | 4 ++-- roles/tasks/debian/setup.yml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/inventory/hosts b/inventory/hosts index 790c142..99398b3 100644 --- a/inventory/hosts +++ b/inventory/hosts @@ -3,8 +3,8 @@ # 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.4 ansible_ssh_common_args="-o StrictHostKeyChecking=no" +10.0.10.141 ansible_ssh_common_args="-o StrictHostKeyChecking=no" # 10.0.10.64 ansible_ssh_common_args="-o StrictHostKeyChecking=no" [openwrt] diff --git a/roles/tasks/debian/setup.yml b/roles/tasks/debian/setup.yml index e42b51a..0f3094d 100644 --- a/roles/tasks/debian/setup.yml +++ b/roles/tasks/debian/setup.yml @@ -62,6 +62,11 @@ state: latest - name: Install ACME shell: curl https://get.acme.sh | sh -s email="{{ ACME_EMAIL }}" + - name: Ensure ACME directory exists + file: + path: ~/.acme.sh/.ssh/ + state: directory + mode: "0700" - name: Enable Syncthing Service command: systemctl enable syncthing@root.service - name: Start Syncthing Service