nginx und ffnord.net Config überarbeitet

This commit is contained in:
baldo 2015-08-30 13:06:59 +02:00
parent 0d97571c01
commit 52a0937a9d
4 changed files with 21 additions and 8 deletions

View file

@ -1,3 +1,6 @@
---
- name: restart nginx
service: name=nginx state=restarted
- name: reload nginx config
service: name=nginx state=reloaded

View file

@ -1,3 +0,0 @@
---
- name: reload ffnord
service: name=nginx state=reloaded

View file

@ -0,0 +1,4 @@
---
handlers:
- include: ../../nginx/handlers/main.yml

View file

@ -6,8 +6,11 @@
owner=root
group=root
mode=0644
notify: reload ffnord
tags: nginx
notify: reload nginx config
tags:
- nginx
- website
- ffnord
- name: enable ffnord.net site
file: >
@ -17,10 +20,16 @@
group=root
mode=0644
state=link
notify: reload ffnord
tags: nginx
notify: reload nginx config
tags:
- nginx
- website
- ffnord
- name: clone ffnord.net repository
git: repo=https://github.com/ffnord/ffnord.net.git dest=/var/www/ffnord.net
tags: nginx
tags:
- nginx
- website
- ffnord