first commit

This commit is contained in:
sujiba 2024-09-17 00:47:41 +02:00
commit 3bfbd3f7f9
10 changed files with 329 additions and 0 deletions

12
handlers/main.yml Normal file
View file

@ -0,0 +1,12 @@
---
# handlers file for nginx
- name: Start and enable nginx
ansible.builtin.systemd_service:
name: nginx
state: started
enabled: true
- name: Reload nginx
ansible.builtin.systemd_service:
name: nginx
state: reloaded