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
   git: repo=git://github.com/sitaramc/gitolite
11
   git: repo=git://github.com/sitaramc/gitolite
12
        dest=/home/git/gitolite
12
        dest=/home/git/gitolite
13
        version=v{{ gitolite_version }}
13
        version=v{{ gitolite_version }}
14
+       accept_hostkey=yes
14
 
15
 
15
 - name: Give git user file permissions
16
 - name: Give git user file permissions
16
   file: path=/home/git/gitolite
17
   file: path=/home/git/gitolite
40
 
41
 
41
 - name: Setup gitolite
42
 - name: Setup gitolite
42
   command: su - git -c 'gitolite setup -pk {{ main_user_name }}.pub'
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
 - name: Clone Selfoss
1
 - name: Clone Selfoss
2
   git: repo=https://github.com/SSilence/selfoss.git
2
   git: repo=https://github.com/SSilence/selfoss.git
3
        dest=/var/www/selfoss
3
        dest=/var/www/selfoss
4
+       accept_hostkey=yes
4
 
5
 
5
 - name: Set selfoss permissions
6
 - name: Set selfoss permissions
6
   action: file owner=www-data group=www-data path=/var/www/selfoss recurse=yes state=directory
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
   git: repo=https://github.com/wallabag/wallabag.git
6
   git: repo=https://github.com/wallabag/wallabag.git
7
        dest=/var/www/wallabag
7
        dest=/var/www/wallabag
8
        version={{ wallabag_version }}
8
        version={{ wallabag_version }}
9
+       accept_hostkey=yes
9
 
10
 
10
 - name: Remove wallabag 'install' directory if its configuration file is there
11
 - name: Remove wallabag 'install' directory if its configuration file is there
11
   file: name=/var/www/wallabag/install state=absent
12
   file: name=/var/www/wallabag/install state=absent

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

24
   command: mv rcmcarddav-carddav_{{ carddav_version }} /usr/share/roundcube/plugins/carddav chdir=/root creates=/usr/share/roundcube/plugins/carddav
24
   command: mv rcmcarddav-carddav_{{ carddav_version }} /usr/share/roundcube/plugins/carddav chdir=/root creates=/usr/share/roundcube/plugins/carddav
25
 
25
 
26
 - name: Download Google Authenticator roundcube plugin
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
 - name: Link plugins into /var/lib/roundcube/plugins
31
 - name: Link plugins into /var/lib/roundcube/plugins
30
   file: state=link src=/usr/share/roundcube/plugins/{{ item }} dest=/var/lib/roundcube/plugins/{{ item }} force=yes
32
   file: state=link src=/usr/share/roundcube/plugins/{{ item }} dest=/var/lib/roundcube/plugins/{{ item }} force=yes

Loading…
Cancel
Save