From 55431ef2f4db01b801bed459f759a23a225c4754 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Tue, 29 Oct 2024 02:05:56 +0800 Subject: [PATCH] Update playbooks --- inventory/hosts | 9 ++++----- roles/tasks/debian/setup.yml | 2 ++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/inventory/hosts b/inventory/hosts index 70bd645..57c93ef 100644 --- a/inventory/hosts +++ b/inventory/hosts @@ -1,11 +1,10 @@ [debian] # Hyper-V Test Nodes -172.22.88.4 ansible_ssh_common_args="-o StrictHostKeyChecking=no" -172.22.85.231 ansible_ssh_common_args="-o StrictHostKeyChecking=no" +172.22.90.75 ansible_ssh_common_args="-o StrictHostKeyChecking=no" # Bare Metal Nodes -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" +# 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] 10.0.10.1 diff --git a/roles/tasks/debian/setup.yml b/roles/tasks/debian/setup.yml index bffbedb..6afbc2c 100644 --- a/roles/tasks/debian/setup.yml +++ b/roles/tasks/debian/setup.yml @@ -56,6 +56,8 @@ shell: curl https://get.acme.sh | sh -s email="{{ ACME_EMAIL }}" - name: Enable Syncthing Service command: systemctl enable syncthing@root.service + - name: Start Syncthing Service + command: systemctl start syncthing@root.service - name: Allow Syncthing Remote Management replace: path: /root/.config/syncthing/config.xml