[Groonga-commit] groonga/packages.groonga.org at a33d650 [master] Use Groonga Admin

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Nov 23 22:06:16 JST 2015


Kouhei Sutou	2015-11-23 22:06:16 +0900 (Mon, 23 Nov 2015)

  New Revision: a33d650cc0ed8e0cf700eda7ff4d528cdf5cc928
  https://github.com/groonga/packages.groonga.org/commit/a33d650cc0ed8e0cf700eda7ff4d528cdf5cc928

  Message:
    Use Groonga Admin

  Modified files:
    ansible/files/groonga-httpd.conf
    ansible/playbook.yml

  Modified: ansible/files/groonga-httpd.conf (+1 -1)
===================================================================
--- ansible/files/groonga-httpd.conf    2015-11-23 22:06:03 +0900 (2bab25c)
+++ ansible/files/groonga-httpd.conf    2015-11-23 22:06:16 +0900 (f5e879b)
@@ -61,7 +61,7 @@ http {
     }
 
     location / {
-      root /usr/share/groonga/html/admin;
+      root /usr/local/share/groonga-admin-{{ groonga_admin_version }}/html;
       index index.html;
     }
 

  Modified: ansible/playbook.yml (+12 -1)
===================================================================
--- ansible/playbook.yml    2015-11-23 22:06:03 +0900 (2e3740f)
+++ ansible/playbook.yml    2015-11-23 22:06:16 +0900 (b77e908)
@@ -1,4 +1,6 @@
 - hosts: package-servers
+  vars:
+    groonga_admin_version: 0.9.4
   sudo: yes
   tasks:
     # Base
@@ -141,8 +143,17 @@
       with_items:
         - groonga-bin
         - groonga-httpd
+    - name: Download Groonga Admin
+      get_url:
+        url=http://packages.groonga.org/source/groonga-admin/groonga-admin-{{ groonga_admin_version }}.tar.gz
+        dest=/usr/local/src/
+    - name: Install Groonga Admin
+      unarchive:
+        copy=no
+        src=/usr/local/src/groonga-admin-{{ groonga_admin_version }}.tar.gz
+        dest=/usr/local/share/
     - name: Put groonga-httpd configuration
-      copy:
+      template:
         src=files/groonga-httpd.conf
         dest=/etc/groonga/httpd/groonga-httpd.conf
       notify:
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index