.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."
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
- name: Dry Run
|
- name: Dry Run
|
||||||
run: |
|
run: |
|
||||||
echo "$ANSIBLE_CI_USER"
|
echo "${{ secrets.ANSIBLE_CI_USER }}" > /tmp/.pw
|
||||||
echo "$ANSIBLE_CI_USER" > /tmp/.pw
|
chmod 600 /tmp/.pw
|
||||||
cat /tmp/.pw
|
|
||||||
#cd ${{ gitea.workspace }}
|
#cd ${{ gitea.workspace }}
|
||||||
ls ${{ gitea.workspace }}
|
ls ${{ gitea.workspace }}
|
||||||
#ls -l
|
#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:
|
env:
|
||||||
ANSIBLE_CI_USER: ${{secrets.ANSIBLE_CI_USER}}
|
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 }}."
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue