commit 3d0b709800c6cff0b9a2f637bf08a760af185296 parent e88e8816fd62e43801acdc68183146a6062e7a30 Author: Dionysis Grigoropoulos <dgrig@erethon.com> Date: Sun, 2 Dec 2018 20:55:11 +0200 static: Add git and about page configs Diffstat:
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/ansible/roles/static.erethon.com/files/httpd/about.erethon.com.conf b/ansible/roles/static.erethon.com/files/httpd/about.erethon.com.conf @@ -0,0 +1,4 @@ +server "about.erethon.com" { + listen on * port 80 + root "/htdocs/about.erethon.com" +} diff --git a/ansible/roles/static.erethon.com/files/httpd/git.erethon.com.conf b/ansible/roles/static.erethon.com/files/httpd/git.erethon.com.conf @@ -0,0 +1,4 @@ +server "git.erethon.com" { + listen on * port 80 + root "/htdocs/git.erethon.com/" +} diff --git a/ansible/roles/static.erethon.com/tasks/main.yml b/ansible/roles/static.erethon.com/tasks/main.yml @@ -21,8 +21,10 @@ path: /etc/httpd.conf line: 'include "/etc/httpd/{{ item }}.conf"' with_items: - - capitalism - - hacked - - erethon - - blog + - capitalism + - hacked + - erethon + - blog + - about.erethon.com + - git.erethon.com notify: Restart httpd