Skip to content
Snippets Groups Projects
Commit e4651a15 authored by Chris Hines's avatar Chris Hines
Browse files

Try a differen way around known_hosts

parent 3f142f1e
No related branches found
No related tags found
Loading
......@@ -115,7 +115,8 @@ ansible_create_cluster_stage:
- pwd
- python3 ./make_files.py ./inventory.yml ./infra/os_vars.yml ./vars/versions.yml
- ssh-keygen -R `cat ssh.cfg | grep Proxy | cut -f 2 -d "@"`
- ssh `cat ssh.cfg | grep Proxy | cut -f 2 -d "="` -i ./tmp_key -o StrictHostKeyChecking=no exit 0
#- ssh `cat ssh.cfg | grep Proxy | cut -f 2 -d "="` -i ./tmp_key -o StrictHostKeyChecking=no exit 0
- export ANSIBLE_HOST_KEY_CHECKING=False
- ansible-playbook -i inventory.yml --key-file ./tmp_key upgrade_and_reboot.yml
- ansible-playbook -i inventory.yml --key-file ./tmp_key master_playbook.yml
- sleep 15
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment