.
Some checks failed
deploy host / setup-runner (push) Successful in 3s
deploy host / ansible-playbook (push) Failing after 3s

This commit is contained in:
2024-09-01 02:12:16 +01:00
parent cfb3d9af00
commit 611b2046e1

View File

@@ -20,13 +20,16 @@ jobs:
container: container:
image: homesrv/git-runner image: homesrv/git-runner
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: ls
shell: bash
run: |
ls ${{gitea.workspace}} -lah
- name: Run Ansible Playbook
env:
#ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
ANSIBLE_HOST_KEY_CHECKING: False
run: |
ansible-playbook {{gitea.workspace}}/ansible/site.yml --private-key xxxx -u xxxx
# - name: Install Ansible # - name: Install Ansible
@@ -45,9 +48,3 @@ jobs:
# ansible-playbook ansible/site.yml --private-key xxxx -u xxxx # ansible-playbook ansible/site.yml --private-key xxxx -u xxxx
# - name: Run Ansible Playboo
# env:
# ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
# ANSIBLE_HOST_KEY_CHECKING: False
# run: |
# ansible-playbook ansible/site.yml --private-key xxxx -u xxxx