1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2024-11-22 15:32:18 +00:00

workflows: use inventory and limit

This commit is contained in:
Dawid Dziurla 2020-03-22 12:47:57 +01:00
parent 26bba33ddb
commit f039d623c2
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B

View file

@ -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
--inventory hosts
--limit local