update
This commit is contained in:
@@ -39,5 +39,13 @@ jobs:
|
||||
pip3 install --upgrade pip
|
||||
pip3 install ansible
|
||||
|
||||
|
||||
- name: Setup SSH
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ssh-keyscan -H 213.95.90.157 >> ~/.ssh/known_hosts
|
||||
|
||||
- name: Run Ansible deployment
|
||||
run: ansible-playbook -i ansible/inventory.yaml site.yaml
|
||||
run: ansible-playbook -i ansible/inventory.yaml site.yaml
|
||||
|
||||
Reference in New Issue
Block a user