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

keyscan

parent e4651a15
No related branches found
No related tags found
3 merge requests!518modifications to playbooks because 1. we're not using ldap 2. we're mounting...,!517modifications to playbooks because 1. we're not using ldap 2. we're mounting...,!513modifications to playbooks because 1. we're not using ldap 2. we're mounting...
......@@ -115,6 +115,7 @@ 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-keyscan -H `cat ssh.cfg | grep Proxy | cut -f 2 -d "@"` >> ~/.ssh/known_hosts
#- 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
......
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