.gitea/workflows/dry-run.yml aktualisiert
Some checks failed
Ansible Dry Run / Explore-Gitea-Actions (push) Failing after 11s
Some checks failed
Ansible Dry Run / Explore-Gitea-Actions (push) Failing after 11s
This commit is contained in:
parent
34af0869e9
commit
18c00a2fe5
1 changed files with 4 additions and 4 deletions
|
|
@ -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 }}."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue