.
Some checks failed
deploy host / build (push) Failing after 2s

This commit is contained in:
2024-09-01 01:19:40 +01:00
parent 3ed26b9e10
commit 3354353b87

View File

@@ -8,10 +8,17 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: librespace/ansible
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: ls
shell: bash
run: |
ls
# run: |
# ls
# - name: ls # - name: ls
# run: | # run: |
# ls -lah # ls -lah
@@ -23,11 +30,14 @@ jobs:
# sudo apt update # sudo apt update
# sudo apt install -y ansible # sudo apt install -y ansible
- name: Docker tests # - name: Docker tests
run: | # run: |
docker pull librespace/ansible # docker pull librespace/ansible
docker run --mount type=bind,source="$(pwd)"/ansible,target=/ansible librespace/ansible ansible-playbook ansible/site.yml --private-key xxxx -u xxxx # docker run \
# --mount type=bind,source="$(pwd)"/ansible,target=/ansible \
# librespace/ansible \
# ansible-playbook ansible/site.yml --private-key xxxx -u xxxx
# - name: Run Ansible Playboo # - name: Run Ansible Playboo