Created base nginx playbook

This commit is contained in:
epickiwi committed 2026-10-30 10:05:50 +01:00
1 parent 8ad483da2c
commit 1fbd625b83
1 file changed
+17
+17
View File
@@ -0,0 +1,17 @@
- name: Setup NGINX
hosts: berliet.medicenlutte.fr
tasks:
- name: Install NGINX
ansible.builtin.apt:
name: nginx
state: present
update_cache: yes
become: true
- name: Start and Enable NGINX
ansible.builtin.systemd_service:
name: nginx
state: started
enabled: true
become: true