Disable host key checking for 10.0.0.* subnet
This commit is contained in:
parent
1e199b6acd
commit
5a1676f08c
@ -3,10 +3,12 @@
|
|||||||
- name: Main build script
|
- name: Main build script
|
||||||
hosts: all
|
hosts: all
|
||||||
sudo: yes
|
sudo: yes
|
||||||
|
vars:
|
||||||
|
ssh_ip_mask: "10.0.0.*"
|
||||||
tasks:
|
tasks:
|
||||||
- include: tasks/base.yaml
|
- include: tasks/base.yaml
|
||||||
- include: tasks/puppet.yaml
|
- include: tasks/puppet.yaml
|
||||||
- include: tasks/docker.yaml
|
- include: tasks/docker.yaml
|
||||||
#- include: celery.yaml tags=['master'] celery_dir=/var/run/celery
|
|
||||||
- include: tasks/cloud_archive.yaml
|
- include: tasks/cloud_archive.yaml
|
||||||
#- include: tasks/mos.yaml
|
- include: tasks/ssh_conf.yaml
|
||||||
|
|
||||||
|
2
bootstrap/playbooks/files/ssh_conf
Normal file
2
bootstrap/playbooks/files/ssh_conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Host {{ssh_ip_mask}}
|
||||||
|
StrictHostKeyChecking no
|
@ -2,12 +2,15 @@
|
|||||||
|
|
||||||
- hosts: all
|
- hosts: all
|
||||||
sudo: yes
|
sudo: yes
|
||||||
|
vars:
|
||||||
|
ssh_ip_mask: "10.0.0.*"
|
||||||
tasks:
|
tasks:
|
||||||
# upgrade pbr first, old version throws strange errors
|
# upgrade pbr first, old version throws strange errors
|
||||||
- shell: pip install pbr -U
|
- shell: pip install pbr -U
|
||||||
# Setup development env for solar
|
# Setup development env for solar
|
||||||
- shell: pip install -e . chdir=/vagrant
|
- shell: pip install -e . chdir=/vagrant
|
||||||
- shell: pip install git+git://github.com/Mirantis/solar-agent.git
|
- shell: pip install git+git://github.com/Mirantis/solar-agent.git
|
||||||
|
- include: tasks/ssh_conf.yaml
|
||||||
|
|
||||||
- hosts: all
|
- hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
|
3
bootstrap/playbooks/tasks/ssh_conf.yaml
Normal file
3
bootstrap/playbooks/tasks/ssh_conf.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- template: src=files/ssh_conf dest=/root/.ssh/config
|
@ -8,7 +8,7 @@ solar-celery:
|
|||||||
- /vagrant/templates:/vagrant/templates
|
- /vagrant/templates:/vagrant/templates
|
||||||
- /vagrant/resources:/vagrant/resources
|
- /vagrant/resources:/vagrant/resources
|
||||||
- /vagrant/library:/vagrant/library
|
- /vagrant/library:/vagrant/library
|
||||||
- ~/.ssh/known_hosts:/root/.ssh/known_hosts
|
- ~/.ssh:/root/.ssh
|
||||||
- ./bootstrap/playbooks/celery.yaml:/celery.yaml
|
- ./bootstrap/playbooks/celery.yaml:/celery.yaml
|
||||||
environment:
|
environment:
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
|
Loading…
Reference in New Issue
Block a user