Change restart nginx in update-ip.yml to simple sh command

This commit is contained in:
saul365
2025-07-15 13:10:11 -06:00
parent b853c3bc1f
commit 5a845767d4

View File

@@ -9,7 +9,5 @@
ansible.builtin.shell: sed -i s/{{ old_ip6 }}/{{ new_ip6 }}/ {{ proxy_conf_path }} ansible.builtin.shell: sed -i s/{{ old_ip6 }}/{{ new_ip6 }}/ {{ proxy_conf_path }}
- name: Restart nginx service - name: Restart nginx service
ansible.builtin.service: ansible.builtin.shell: nginx -s reload
name: nginx
state: restarted