Created base nginx playbook
This commit is contained in:
1 file changed
+17
@@ -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
|
||||
Reference in new issue
Block a user