add nginx role
This commit is contained in:
parent
b8d26d4938
commit
7f6fdbfd2c
@ -9,3 +9,4 @@
|
|||||||
- htop
|
- htop
|
||||||
- tmux
|
- tmux
|
||||||
- fail2ban
|
- fail2ban
|
||||||
|
- nginx
|
||||||
|
|||||||
3
urubamba/roles/nginx/meta/main.yml
Normal file
3
urubamba/roles/nginx/meta/main.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- role: ufw
|
||||||
9
urubamba/roles/nginx/tasks/main.yml
Normal file
9
urubamba/roles/nginx/tasks/main.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
- name: Install nginx
|
||||||
|
ansible.builtin.package:
|
||||||
|
name: nginx
|
||||||
|
state: present
|
||||||
|
- name: Allow nginx (HTTP, HTTPS) in ufw
|
||||||
|
community.general.ufw:
|
||||||
|
rule: allow
|
||||||
|
name: Nginx Full
|
||||||
Loading…
x
Reference in New Issue
Block a user