mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-11-22 15:32:18 +00:00
938ce6ffd6
this way we can test if ssh is working
23 lines
No EOL
476 B
YAML
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 |