1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_role_nginx.git synced 2024-08-16 16:19:48 +02:00

improve linting

This commit is contained in:
L3D 2021-02-04 18:27:54 +01:00
parent 5a67f059c3
commit c0bd7476c0
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 9 additions and 7 deletions

View file

@ -1,14 +1,16 @@
---
- name: Restart nginx
systemd:
become: true
ansible.builtin.systemd:
name: 'nginx.service'
daemon_reload: yes
daemon_reload: true
state: restarted
- name: systemctl reload nginx
systemd:
become: true
ansible.builtin.systemd:
name: 'nginx.service'
daemon_reload: yes
daemon_reload: true
state: reloaded