update
This commit is contained in:
@@ -47,5 +47,9 @@ jobs:
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ssh-keyscan -H 213.95.90.157 >> ~/.ssh/known_hosts
|
||||
|
||||
- name: Test SSH connection
|
||||
run: |
|
||||
ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=yes root@213.95.90.157 'echo SSH OK'
|
||||
|
||||
- name: Run Ansible deployment
|
||||
run: ansible-playbook -i ansible/inventory.yaml site.yaml
|
||||
|
||||
Reference in New Issue
Block a user