.gitea/workflows/dry-run.yml aktualisiert
Some checks failed
Ansible Dry Run / Explore-Gitea-Actions (push) Failing after 19s

This commit is contained in:
rulrich 2024-03-09 22:09:40 +01:00
parent 97d215e1aa
commit fd31499155

View file

@ -4,20 +4,20 @@ on: [push]
jobs: jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: Dry Run - name: Dry Run
run: | run: |
whoami echo "${{ secrets.ANSIBLE_CI_USER }}" > /tmp/.pw
ls ${{ gitea.workspace }} ls ${{ gitea.workspace }}
env: ansible-playbook -i hosts -l testing playbook.yml -u administrator ---become-password-file /tmp/.pw --check
ANSIBLE_CI_USER: ${{ secrets.ANSIBLE_CI_USER }}
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."
#apt update && apt install -y ansible-playbook #apt update && apt install -y ansible-playbook