mirror of
https://github.com/AsgardEternal/Ubuntu-Ansible-Setup.git
synced 2024-09-28 14:04:23 -05:00
ci: update ssh config
This commit is contained in:
parent
79df7fceba
commit
e6839d8083
10
.github/workflows/deploy-squad.yml
vendored
10
.github/workflows/deploy-squad.yml
vendored
@ -39,11 +39,15 @@ jobs:
|
||||
chmod 0600 "${HOME}/.ssh/key"
|
||||
|
||||
cat << __EOF__ > "${HOME}/.ssh/config"
|
||||
Host ${{ vars.server_host }}
|
||||
Host *
|
||||
User ${{ vars.ssh_user }}
|
||||
IdentityFile ${HOME}/.ssh/key
|
||||
StrictHostKeyChecking no{HOME}/.ssh/key
|
||||
|
||||
Host ${{ vars.server_host }}
|
||||
HostName ${{ vars.server_host }}
|
||||
User ${{ vars.ssh_user }}
|
||||
IdentityFile $Host *
|
||||
__EOF__
|
||||
ssh -o StrictHostKeyChecking=no asgard.orion-technologies.io
|
||||
|
||||
- name: Run Ansible Playbook For Squad
|
||||
run: ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook playbook.yml --tags=squad
|
||||
|
Loading…
Reference in New Issue
Block a user