We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22b404b commit 91a1930Copy full SHA for 91a1930
.forgejo/workflows/ansibleCD.yml
@@ -86,8 +86,9 @@ jobs:
86
echo "Deploying to $target_host for folder $folder"
87
88
- name: Run Ansible Playbook
89
- uses: docker://mafyuh/ansible-bws:v1.0.0
+ uses: docker://mafyuh/ansible-bws:v1.0.1
90
with:
91
args: ansible-playbook -i hosts.ini /playbooks/deploy-docker.yml --extra-vars "target_host=$target_host folder=$folder"
92
env:
93
- BWS_ACCESS_TOKEN: ${{ secrets.BWS_ACCESS_TOKEN }}
+ BWS_ACCESS_TOKEN: ${{ secrets.BWS_ACCESS_TOKEN }}
94
+ SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ansible/ansible.cfg
@@ -1,4 +1,5 @@
1
[defaults]
2
inventory = ./hosts.ini
3
ansible_user = mafyuh
4
-host_key_checking = False
+host_key_checking = False
5
+private_key_file = /root/.ssh/id_rsa
0 commit comments