This commit is contained in:
2022-05-19 01:29:38 -04:00
parent ed9100bc8f
commit acfb17f418
5 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
- name: Reload nginx
service:
name: nginx
state: reloaded
listen: reload_nginx

View File

@@ -0,0 +1,12 @@
- name: Install nginx
apt:
name: nginx
state: present
update_cache: true
- name: Install nginx configuration
template:
src: nginx.conf.j2
dest: /etc/nginx/nginx.conf
mode: '0644'
notify: reload_nginx