ansible-config/roles/website/ffnord/tasks/main.yml

36 lines
693 B
YAML
Raw Normal View History

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
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
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
tags:
- nginx
- website
- ffnord
2015-08-29 23:44:14 +02:00