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
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