nginx und ffnord.net Config überarbeitet
This commit is contained in:
parent
0d97571c01
commit
52a0937a9d
|
@ -1,3 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: restart nginx
|
- name: restart nginx
|
||||||
service: name=nginx state=restarted
|
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
|
owner=root
|
||||||
group=root
|
group=root
|
||||||
mode=0644
|
mode=0644
|
||||||
notify: reload ffnord
|
notify: reload nginx config
|
||||||
tags: nginx
|
tags:
|
||||||
|
- nginx
|
||||||
|
- website
|
||||||
|
- ffnord
|
||||||
|
|
||||||
- name: enable ffnord.net site
|
- name: enable ffnord.net site
|
||||||
file: >
|
file: >
|
||||||
|
@ -17,10 +20,16 @@
|
||||||
group=root
|
group=root
|
||||||
mode=0644
|
mode=0644
|
||||||
state=link
|
state=link
|
||||||
notify: reload ffnord
|
notify: reload nginx config
|
||||||
tags: nginx
|
tags:
|
||||||
|
- nginx
|
||||||
|
- website
|
||||||
|
- ffnord
|
||||||
|
|
||||||
- name: clone ffnord.net repository
|
- name: clone ffnord.net repository
|
||||||
git: repo=https://github.com/ffnord/ffnord.net.git dest=/var/www/ffnord.net
|
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