mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-04-30 06:34:38 +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
|
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 --upgrade pip
|
||||||
#sudo pip install pillow
|
#sudo pip install pillow
|
||||||
|
|
||||||
|
@ -29,21 +29,21 @@
|
|||||||
- name: Git configuration
|
- name: Git configuration
|
||||||
copy: src=ansible.gitconfig dest=~/.gitconfig
|
copy: src=ansible.gitconfig dest=~/.gitconfig
|
||||||
|
|
||||||
- name: ensure github.com is a known host
|
#- name: ensure github.com is a known host
|
||||||
lineinfile:
|
# lineinfile:
|
||||||
dest: ~/.ssh/known_hosts
|
# dest: ~/.ssh/known_hosts
|
||||||
create: yes
|
# create: yes
|
||||||
state: present
|
# state: present
|
||||||
line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}"
|
# line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}"
|
||||||
regexp: "^github\\.com"
|
# regexp: "^github\\.com"
|
||||||
|
|
||||||
- name: ensure bitbucket.org is a known host
|
#- name: ensure bitbucket.org is a known host
|
||||||
lineinfile:
|
# lineinfile:
|
||||||
dest: ~/.ssh/known_hosts
|
# dest: ~/.ssh/known_hosts
|
||||||
create: yes
|
# create: yes
|
||||||
state: present
|
# state: present
|
||||||
line: "{{ lookup('pipe', 'ssh-keyscan -t rsa bitbucket.org') }}"
|
# line: "{{ lookup('pipe', 'ssh-keyscan -t rsa bitbucket.org') }}"
|
||||||
regexp: "^bitbucket\\.org"
|
# regexp: "^bitbucket\\.org"
|
||||||
|
|
||||||
- name: create build dir
|
- name: create build dir
|
||||||
sudo: true
|
sudo: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user