mirror of
https://github.com/DO1JLR/ansible_role_nginx.git
synced 2024-08-16 16:19:48 +02:00
14 lines
211 B
YAML
14 lines
211 B
YAML
---
|
|
|
|
- name: Restart nginx
|
|
systemd:
|
|
name: 'nginx.service'
|
|
daemon_reload: yes
|
|
state: restarted
|
|
|
|
|
|
- name: Reload nginx
|
|
systemd:
|
|
name: 'nginx.service'
|
|
daemon_reload: yes
|
|
state: reloaded
|