2015-08-29 23:44:14 +02:00
|
|
|
---
|
|
|
|
- name: configure ffnord.net site
|
|
|
|
copy: >
|
|
|
|
src=etc/nginx/sites-available/ffnord.net
|
|
|
|
dest=/etc/nginx/sites-available/ffnord.net
|
|
|
|
owner=root
|
|
|
|
group=root
|
|
|
|
mode=0644
|
2015-08-30 13:06:59 +02:00
|
|
|
notify: reload nginx config
|
|
|
|
tags:
|
|
|
|
- nginx
|
|
|
|
- website
|
|
|
|
- ffnord
|
2015-08-29 23:44:14 +02:00
|
|
|
|
|
|
|
- name: enable ffnord.net site
|
|
|
|
file: >
|
|
|
|
src=/etc/nginx/sites-available/ffnord.net
|
|
|
|
dest=/etc/nginx/sites-enabled/ffnord.net
|
|
|
|
owner=root
|
|
|
|
group=root
|
|
|
|
mode=0644
|
|
|
|
state=link
|
2015-08-30 13:06:59 +02:00
|
|
|
notify: reload nginx config
|
|
|
|
tags:
|
|
|
|
- nginx
|
|
|
|
- website
|
|
|
|
- ffnord
|
2015-08-29 23:44:14 +02:00
|
|
|
|
|
|
|
- name: clone ffnord.net repository
|
|
|
|
git: repo=https://github.com/ffnord/ffnord.net.git dest=/var/www/ffnord.net
|
2015-08-30 13:06:59 +02:00
|
|
|
tags:
|
|
|
|
- nginx
|
|
|
|
- website
|
|
|
|
- ffnord
|
2015-08-29 23:44:14 +02:00
|
|
|
|