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

This commit is contained in:
rulrich 2024-03-09 20:56:06 +01:00
parent 34af0869e9
commit 18c00a2fe5

View file

@ -14,13 +14,13 @@ jobs:
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: Dry Run
run: |
echo "$ANSIBLE_CI_USER"
echo "$ANSIBLE_CI_USER" > /tmp/.pw
cat /tmp/.pw
echo "${{ secrets.ANSIBLE_CI_USER }}" > /tmp/.pw
chmod 600 /tmp/.pw
#cd ${{ gitea.workspace }}
ls ${{ gitea.workspace }}
#ls -l
echo ansible-playbook -i hosts -l testing playbook.yml -u $ANSIBLE_RUN_AS ---become-password-file /tmp/.pw --check
echo ansible-playbook -i hosts -l testing playbook.yml -u administrator ---become-password-file /tmp/.pw --check
ansible-playbook -i hosts -l testing playbook.yml -u administrator ---become-password-file /tmp/.pw --check
env:
ANSIBLE_CI_USER: ${{secrets.ANSIBLE_CI_USER}}
- run: echo "🍏 This job's status is ${{ job.status }}."