1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2024-11-22 15:32:18 +00:00
action-ansible-playbook/.github/workflows/test.yml
Dawid Dziurla 938ce6ffd6
workflows: run the playbook against other container
this way we can test if ssh is working
2020-03-21 19:44:53 +01:00

23 lines
No EOL
476 B
YAML

name: Test Action
on: push
jobs:
test:
runs-on: ubuntu-latest
services:
host:
image: dawidd6/alpine-for-ansible
env:
SSH_PUBLIC_KEY: ${{secrets.SSH_PUBLIC_KEY}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run
uses: ./
with:
playbook: playbook.yml
key: ${{secrets.SSH_PRIVATE_KEY}}
options: |
--inventory=user@host,
--verbose