Change restart nginx in update-ip.yml to simple sh command
This commit is contained in:
@@ -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
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user