From 5a845767d4f90e880b9b077598425de1aef8d858 Mon Sep 17 00:00:00 2001 From: saul365 Date: Tue, 15 Jul 2025 13:10:11 -0600 Subject: [PATCH] Change restart nginx in update-ip.yml to simple sh command --- update-ip.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/update-ip.yaml b/update-ip.yaml index 47f634f..9bb0972 100644 --- a/update-ip.yaml +++ b/update-ip.yaml @@ -9,7 +9,5 @@ ansible.builtin.shell: sed -i s/{{ old_ip6 }}/{{ new_ip6 }}/ {{ proxy_conf_path }} - name: Restart nginx service - ansible.builtin.service: - name: nginx - state: restarted + ansible.builtin.shell: nginx -s reload