From f039d623c2c59b29fe9b2f37fdfa265355fd54d5 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Sun, 22 Mar 2020 12:47:57 +0100 Subject: [PATCH] workflows: use inventory and limit --- .github/workflows/test.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6ffc578..8b5bbf1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: -w /wd \ -e INPUT_PLAYBOOK=playbook.yml \ -e INPUT_KEY="${{secrets.SSH_PRIVATE_KEY}}" \ - -e INPUT_OPTIONS="-e host=host -e user=user" \ + -e INPUT_OPTIONS="--inventory hosts --limit remote" \ action - name: Test local uses: ./ @@ -31,7 +31,5 @@ jobs: playbook: playbook.yml key: ${{secrets.SSH_PRIVATE_KEY}} options: | - -e host=localhost - -e user=root - -c local - -v \ No newline at end of file + --inventory hosts + --limit local \ No newline at end of file