1
0

update
Some checks failed
/ deploy (push) Failing after 1m38s

This commit is contained in:
cuqmbr 2025-06-23 21:15:18 +03:00
parent f2e604729d
commit abc149be35
Signed by: cuqmbr
GPG Key ID: 0AA446880C766199

View File

@ -15,5 +15,7 @@ jobs:
run: apt-get update && apt-get install ansible-core -y
- name: Create ssh key file
run: echo -n "${{secrets.ANSIBLE_SSH_KEY}}" > key
- name: Add key to ssh agent
run: ssh-add key
- name: Run ansible playbook
run: cd ./homelab/ansible; ansible-playbook -u gitea-actions --ssh-common-args "-o ProxyCommand='ssh -p 22 -W %h:%p -q ansible@bastion.cuqmbr.home'" --private-key ../../key -b --become-method doas --start-at-task 'Install hugo deb package from github.' -i inventories/dev/hosts.yml 20_main_page.yml
run: cd ./homelab/ansible; ansible-playbook -u gitea-actions --ssh-common-args "-o ProxyCommand='ssh -p 22 -W %h:%p -q gitea-actions@bastion.cuqmbr.home'" -b --become-method doas --start-at-task 'Install hugo deb package from github.' -i inventories/dev/hosts.yml 20_main_page.yml