nginx und ffnord.net Config überarbeitet
This commit is contained in:
parent
0d97571c01
commit
52a0937a9d
|
@ -1,3 +1,6 @@
|
|||
---
|
||||
- name: restart nginx
|
||||
service: name=nginx state=restarted
|
||||
|
||||
- name: reload nginx config
|
||||
service: name=nginx state=reloaded
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
- name: reload ffnord
|
||||
service: name=nginx state=reloaded
|
4
roles/website/ffnord/main.yml
Normal file
4
roles/website/ffnord/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
handlers:
|
||||
- include: ../../nginx/handlers/main.yml
|
||||
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue