瀏覽代碼

add new virtual hosts

Laurent Hory 8 年之前
父節點
當前提交
865043d30e
共有 2 個文件被更改,包括 10 次插入4 次删除
  1. 6 4
      roles/certbot/tasks/main.yml
  2. 4 0
      roles/enable-apache/tasks/main.yml

+ 6 - 4
roles/certbot/tasks/main.yml

@@ -4,14 +4,16 @@
 
 - include: renewal.yml subdomain={{item}}
   with_items:
-    - owncloud.hory.me
+    - courses.hory.me
+    - demo.hory.me
+    - git.hory.me
     - monitor.hory.me
+    - owncloud.hory.me
+    - plante.hory.me
     - postfixadmin.hory.me
+    - sgp.hory.me
     - sound.hory.me
-    - git.hory.me
-    - plante.hory.me
     - wiki.hory.me
-    - demo.hory.me
 
 - name: disable temporary sites
   command: "a2dissite *"

+ 4 - 0
roles/enable-apache/tasks/main.yml

@@ -1,6 +1,8 @@
 - name: reload all sites
   command: "a2ensite {{item}}"
   with_items:
+    - courses
+    - courses-ssl
     - git
     - git-ssl
     - monitoring
@@ -11,6 +13,8 @@
     - plante-ssl
     - postfixadmin
     - postfixadmin-ssl
+    - sgp
+    - sgp-ssl
     - sound
     - sound-ssl
     - wiki