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 }}
|
||||
|
||||
- name: Restart nginx service
|
||||
ansible.builtin.service:
|
||||
name: nginx
|
||||
state: restarted
|
||||
ansible.builtin.shell: nginx -s reload
|
||||
|
||||
|
||||
Reference in New Issue
Block a user