Browse Source

Accept hostkey for all GitHub repos.

Resolves #266.
Alex Payne 10 years ago
parent
commit
4d8ed34b47

+ 2
- 1
roles/git/tasks/gitolite.yml View File

@@ -11,6 +11,7 @@
11 11
   git: repo=git://github.com/sitaramc/gitolite
12 12
        dest=/home/git/gitolite
13 13
        version=v{{ gitolite_version }}
14
+       accept_hostkey=yes
14 15
 
15 16
 - name: Give git user file permissions
16 17
   file: path=/home/git/gitolite
@@ -40,4 +41,4 @@
40 41
 
41 42
 - name: Setup gitolite
42 43
   command: su - git -c 'gitolite setup -pk {{ main_user_name }}.pub'
43
-           chdir=/home/git
44
+           chdir=/home/git

+ 1
- 0
roles/news/tasks/selfoss.yml View File

@@ -1,6 +1,7 @@
1 1
 - name: Clone Selfoss
2 2
   git: repo=https://github.com/SSilence/selfoss.git
3 3
        dest=/var/www/selfoss
4
+       accept_hostkey=yes
4 5
 
5 6
 - name: Set selfoss permissions
6 7
   action: file owner=www-data group=www-data path=/var/www/selfoss recurse=yes state=directory

+ 1
- 0
roles/readlater/tasks/wallabag.yml View File

@@ -6,6 +6,7 @@
6 6
   git: repo=https://github.com/wallabag/wallabag.git
7 7
        dest=/var/www/wallabag
8 8
        version={{ wallabag_version }}
9
+       accept_hostkey=yes
9 10
 
10 11
 - name: Remove wallabag 'install' directory if its configuration file is there
11 12
   file: name=/var/www/wallabag/install state=absent

+ 3
- 1
roles/webmail/tasks/roundcube.yml View File

@@ -24,7 +24,9 @@
24 24
   command: mv rcmcarddav-carddav_{{ carddav_version }} /usr/share/roundcube/plugins/carddav chdir=/root creates=/usr/share/roundcube/plugins/carddav
25 25
 
26 26
 - name: Download Google Authenticator roundcube plugin
27
-  git: repo=https://github.com/alexandregz/twofactor_gauthenticator.git dest=/usr/share/roundcube/plugins/twofactor_gauthenticator
27
+  git: repo=https://github.com/alexandregz/twofactor_gauthenticator.git
28
+       dest=/usr/share/roundcube/plugins/twofactor_gauthenticator
29
+       accept_hostkey=yes
28 30
 
29 31
 - name: Link plugins into /var/lib/roundcube/plugins
30 32
   file: state=link src=/usr/share/roundcube/plugins/{{ item }} dest=/var/lib/roundcube/plugins/{{ item }} force=yes

Loading…
Cancel
Save