asdf
This commit is contained in:
@@ -40,10 +40,13 @@ jobs:
|
||||
pip3 install ansible
|
||||
|
||||
- name: Setup SSH
|
||||
shell: bash
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
SSH_PASSPHRASE: ${{ secrets.SSH_PASSPHRASE }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
mkdir -p ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
|
||||
@@ -57,6 +60,8 @@ jobs:
|
||||
|
||||
ssh -o BatchMode=yes root@213.95.90.157 "echo SSH OK"
|
||||
|
||||
|
||||
|
||||
- name: Run Ansible
|
||||
run: |
|
||||
ansible-playbook -i ansible/inventory.yaml site.yaml
|
||||
Reference in New Issue
Block a user