You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
423 B

---
- name: Add site config file
template:
src: tildes.conf.jinja2
dest: /etc/nginx/sites-available/tildes.conf
owner: root
group: root
mode: 0644
notify:
- Reload nginx
- name: Enable site in nginx
file:
path: /etc/nginx/sites-enabled/tildes.conf
src: /etc/nginx/sites-available/tildes.conf
state: link
owner: root
group: root
mode: 0644
notify:
- Reload nginx