From aae1d5833bdd5de1fd7d821a4ab7edefb0b71910 Mon Sep 17 00:00:00 2001 From: rulrich Date: Sat, 9 Mar 2024 20:06:02 +0100 Subject: [PATCH] =?UTF-8?q?.gitea/workflows/dry-run.yml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/dry-run.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitea/workflows/dry-run.yml diff --git a/.gitea/workflows/dry-run.yml b/.gitea/workflows/dry-run.yml new file mode 100644 index 0000000..696bc9c --- /dev/null +++ b/.gitea/workflows/dry-run.yml @@ -0,0 +1,22 @@ +name: Ansible Dry Run +on: [push] + +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - 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 "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + - name: Check out repository code + uses: actions/checkout@v3 + - 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." + - name: Dry Run + run: | + cd ${{ gitea.workspace }} + echo ${{ ANSIBLE_CI_USER }} + # ansible-playbook -i hosts -l testing playbook.yml -u $USER --ask-become-pass --check + - run: echo "🍏 This job's status is ${{ job.status }}." + + \ No newline at end of file