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

fix path to tmp_key

parent 405b7904
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,9 +115,9 @@ 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 "="` -l ubuntu -o StrictHostKeyChecking=no exit 0
- 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
- ssh `cat ssh.cfg | grep Proxy | cut -f 2 -d "="` -i ./tmp_key -o StrictHostKeyChecking=no exit 0
- 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
- echo uglyuglyfix
- ansible -i inventory.yml --key-file tmp_key -b -a "systemctl restart slurmdbd" ManagementNodes
......
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