.gitea/workflows/dry-run.yml aktualisiert
Some checks failed
Ansible Dry Run / Explore-Gitea-Actions (push) Failing after 14s
Some checks failed
Ansible Dry Run / Explore-Gitea-Actions (push) Failing after 14s
This commit is contained in:
parent
fd31499155
commit
352fbe9d7f
1 changed files with 9 additions and 5 deletions
|
|
@ -4,7 +4,6 @@ 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!"
|
||||||
|
|
@ -14,10 +13,10 @@ jobs:
|
||||||
- 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: |
|
uses: dawidd6/action-ansible-playbook@v2
|
||||||
echo "${{ secrets.ANSIBLE_CI_USER }}" > /tmp/.pw
|
with:
|
||||||
ls ${{ gitea.workspace }}
|
playbook: playbook.yml
|
||||||
ansible-playbook -i hosts -l testing playbook.yml -u administrator ---become-password-file /tmp/.pw --check
|
|
||||||
- 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
|
||||||
|
|
@ -25,4 +24,9 @@ jobs:
|
||||||
#chmod 600 /tmp/.pw
|
#chmod 600 /tmp/.pw
|
||||||
#cd ${{ gitea.workspace }}
|
#cd ${{ gitea.workspace }}
|
||||||
#echo ansible-playbook -i hosts -l testing playbook.yml -u ${{ settings.ANSIBLE_RUN_AS }} ---become-password-file /tmp/.pw --check
|
#echo ansible-playbook -i hosts -l testing playbook.yml -u ${{ settings.ANSIBLE_RUN_AS }} ---become-password-file /tmp/.pw --check
|
||||||
|
#ansible-playbook -i hosts -l testing playbook.yml -u administrator ---become-password-file /tmp/.pw --check
|
||||||
|
#
|
||||||
|
# run: |
|
||||||
|
#echo "${{ secrets.ANSIBLE_CI_USER }}" > /tmp/.pw
|
||||||
|
#ls ${{ gitea.workspace }}
|
||||||
#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
|
||||||
Loading…
Add table
Reference in a new issue