mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-04-29 22:24:32 +02:00
move pre-registration of known hosts into dependancies script, as it was sometimes failing when done in ansible.
This commit is contained in:
parent
7b0e397e18
commit
46f0496fcf
@ -36,6 +36,9 @@ sudo apt-get --assume-yes install libffi*
|
||||
|
||||
sudo apt-get --assume-yes install ansible
|
||||
|
||||
ssh-keyscan -t rsa github.com
|
||||
ssh-keyscan -t rsa bitbucket.org
|
||||
|
||||
#sudo pip install --upgrade pip
|
||||
#sudo pip install pillow
|
||||
|
||||
|
@ -29,21 +29,21 @@
|
||||
- name: Git configuration
|
||||
copy: src=ansible.gitconfig dest=~/.gitconfig
|
||||
|
||||
- name: ensure github.com is a known host
|
||||
lineinfile:
|
||||
dest: ~/.ssh/known_hosts
|
||||
create: yes
|
||||
state: present
|
||||
line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}"
|
||||
regexp: "^github\\.com"
|
||||
#- name: ensure github.com is a known host
|
||||
# lineinfile:
|
||||
# dest: ~/.ssh/known_hosts
|
||||
# create: yes
|
||||
# state: present
|
||||
# line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}"
|
||||
# regexp: "^github\\.com"
|
||||
|
||||
- name: ensure bitbucket.org is a known host
|
||||
lineinfile:
|
||||
dest: ~/.ssh/known_hosts
|
||||
create: yes
|
||||
state: present
|
||||
line: "{{ lookup('pipe', 'ssh-keyscan -t rsa bitbucket.org') }}"
|
||||
regexp: "^bitbucket\\.org"
|
||||
#- name: ensure bitbucket.org is a known host
|
||||
# lineinfile:
|
||||
# dest: ~/.ssh/known_hosts
|
||||
# create: yes
|
||||
# state: present
|
||||
# line: "{{ lookup('pipe', 'ssh-keyscan -t rsa bitbucket.org') }}"
|
||||
# regexp: "^bitbucket\\.org"
|
||||
|
||||
- name: create build dir
|
||||
sudo: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user