[Groonga-commit] groonga/packages.groonga.org at 86057ea [master] Install SSH configuration

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Sat Sep 27 22:58:03 JST 2014


Kouhei Sutou	2014-09-27 22:58:03 +0900 (Sat, 27 Sep 2014)

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

  Message:
    Install SSH configuration

  Added files:
    ansible/files/authorized_keys
  Modified files:
    ansible/playbook.yml

  Added: ansible/files/authorized_keys (+1 -0) 100644
===================================================================
--- /dev/null
+++ ansible/files/authorized_keys    2014-09-27 22:58:03 +0900 (ece7cd8)
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAnyNhU/qmDpE2ZrHa+1yXepFbesvBpv2Ltol3ryb15l8zxOPXPwQaQ4vX8ynp0SFqJzG2GZ8S4BtDJ7jl3FSiyaIYa+jvAdDzqWk8LVrGJwNMGq2iDmYi531bk5pqS33UaKG9oIYaV71biiTx3meoJP3AmCnvFvz9ZoZKqYVGOulRtE0bZqB0IsxyzOMfhHqH3I6UJjsPqqXcgSFNhVRcE1U3fYSU9WajBtyaI6eRO3ccIemDPZOQTI+KIkyagp6DXj/dksxxxaQ185s3CLI6y5FXyw5c15n5R8vAvDYAXEZGltvLFiBiH1fdSWnQVD9Vj9RWHBkIFcMehMkFwpIM5w== kou �� cozmixng.org

  Modified: ansible/playbook.yml (+15 -1)
===================================================================
--- ansible/playbook.yml    2014-09-27 21:35:02 +0900 (124c2da)
+++ ansible/playbook.yml    2014-09-27 22:58:03 +0900 (0085648)
@@ -26,7 +26,7 @@
       user: name=packages
     - name: Create directories
       file:
-        path=/home/packages/{{ item }}
+        path=~packages/{{ item }}
         state=directory
         owner=packages
         group=packages
@@ -39,6 +39,20 @@
         dest=~packages/.forward
         owner=packages
         group=packages
+    - name: Create ~packages/.ssh/
+      file:
+        path=~packages/.ssh
+        state=directory
+        owner=packages
+        group=packages
+        mode=0700
+    - name: Put ~packages/.ssh/authorized_keys
+      copy:
+        src=files/authorized_keys
+        dest=~packages/.ssh/authorized_keys
+        owner=packages
+        group=packages
+        mode=0600
 
     # Apache
     - name: Install Apache
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index