From 36f2f85eec6a470257426626a5c6ada9ce74b267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sat, 7 Sep 2024 00:49:08 +0100 Subject: [PATCH] . --- .gitea/workflows/host.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/host.yml b/.gitea/workflows/host.yml index 6bc7cd2..3e9a4fb 100644 --- a/.gitea/workflows/host.yml +++ b/.gitea/workflows/host.yml @@ -31,9 +31,13 @@ jobs: -e ANSIBLE_HOST_KEY_CHECKING=false \ --volumes-from ${{ env.JOB_CONTAINER_NAME }} \ -v /tmp/ansible-tmp:/ansible-tmp \ + --entrypoint "/bin/bash" git.limbosolutions.com/kb/ansible-playbook:dev \ - # -c "echo \"${{ secrets.HOST_ANSIBLE_PRIVATE_KEY }}\" > /ansible-tmp/cert; chmod 600 /ansible-tmp/cert; cd ${GITHUB_WORKSPACE}/ansible; ansible-playbook -i homesrv01.dev.lan, -u admin --private-key /ansible-tmp/cert site.yml " - # --entrypoint "/bin/bash" \ + -c "cd ${GITHUB_WORKSPACE}/ansible; ansible-playbook -i homesrv01.dev.lan, -u admin --private-key /ssh-key site.yml " + # \ + + # -c "echo \"${{ secrets.HOST_ANSIBLE_PRIVATE_KEY }}\" > /ansible-tmp/cert; chmod 600 /ansible-tmp/cert; cd ${GITHUB_WORKSPACE}/ansible; ansible-playbook -i homesrv01.dev.lan, -u admin --private-key /ansible-tmp/cert site.yml " + # \ # git.limbosolutions.com/kb/ansible-playbook:dev -c "chmod -R a+rwx ${GITHUB_WORKSPACE}/ansible; ls -lah ${GITHUB_WORKSPACE}/ansible; python3 /scripts/run-ansible-playbook.py"