1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_role_nginx.git synced 2024-08-16 16:19:48 +02:00
ansible_role_nginx/handlers/main.yml
L3D 7d5e029961
Fix nginx template copy and linting
+ Improved some linting
+ Using FQCN more often
+ Using absolute path in template copy

SOLVE Issue https://github.com/DO1JLR/ansible_role_nginx/issues/2
2023-03-07 19:28:51 +01:00

16 lines
289 B
YAML

---
- name: Restart nginx
become: true
ansible.builtin.systemd:
name: 'nginx.service'
daemon_reload: true
state: restarted
- name: Run systemctl reload nginx
become: true
ansible.builtin.systemd:
name: 'nginx.service'
daemon_reload: true
state: reloaded