Skip to content

Commit 91a1930

Browse files
committedDec 5, 2024
fix init ansible migration (sshkey)
1 parent 22b404b commit 91a1930

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
 

‎.forgejo/workflows/ansibleCD.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ jobs:
8686
echo "Deploying to $target_host for folder $folder"
8787
8888
- name: Run Ansible Playbook
89-
uses: docker://mafyuh/ansible-bws:v1.0.0
89+
uses: docker://mafyuh/ansible-bws:v1.0.1
9090
with:
9191
args: ansible-playbook -i hosts.ini /playbooks/deploy-docker.yml --extra-vars "target_host=$target_host folder=$folder"
9292
env:
93-
BWS_ACCESS_TOKEN: ${{ secrets.BWS_ACCESS_TOKEN }}
93+
BWS_ACCESS_TOKEN: ${{ secrets.BWS_ACCESS_TOKEN }}
94+
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

‎ansible/ansible.cfg

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[defaults]
22
inventory = ./hosts.ini
33
ansible_user = mafyuh
4-
host_key_checking = False
4+
host_key_checking = False
5+
private_key_file = /root/.ssh/id_rsa

0 commit comments

Comments
 (0)
Please sign in to comment.