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