mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-11-22 07:26:25 +00:00
workflows: another test job
This commit is contained in:
parent
b898645779
commit
6befc53422
1 changed files with 19 additions and 0 deletions
19
.github/workflows/test.yml
vendored
19
.github/workflows/test.yml
vendored
|
@ -39,3 +39,22 @@ jobs:
|
|||
options: |
|
||||
--inventory hosts
|
||||
--limit local
|
||||
test-local-more:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Test local
|
||||
uses: ./
|
||||
with:
|
||||
playbook: playbook.yml
|
||||
key: ${{secrets.SSH_PRIVATE_KEY}}
|
||||
vault_password: test
|
||||
inventory: |
|
||||
[remote]
|
||||
host ansible_user=user
|
||||
|
||||
[local]
|
||||
localhost ansible_user=root ansible_connection=local
|
||||
options: |
|
||||
--limit local
|
||||
|
|
Loading…
Reference in a new issue