Use simpler file structure

This commit is contained in:
Sonny Bakker 2021-01-29 20:56:23 +01:00
parent 8ea9414418
commit e8cb486c8f
96 changed files with 1001 additions and 436 deletions

View file

@ -0,0 +1,18 @@
- name: install nginx
apt:
name: nginx
state: present
- name: copy nginx config
template:
src: "nginx.conf.j2"
dest: "/etc/nginx/nginx.conf"
owner: root
group: root
mode: "0644"
- name: remove default site
file:
path: "/etc/nginx/sites-enabled/default"
state: absent
notify: restart nginx