Update ansible code
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Adrien Reslinger 2022-08-16 16:07:26 +02:00
parent f44a0ee2f5
commit 83170bbe6b
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
5 changed files with 44 additions and 38 deletions

View file

@ -1,7 +1,10 @@
---
- name: Restart nginx
service: name=nginx state=restarted
ansible.builtin.service:
name: nginx
state: restarted
- name: Restart httpd
service: name=httpd state=restarted
ansible.builtin.service:
name: httpd
state: restarted