Skip to content

Commit

Permalink
README: update
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidd6 committed Mar 22, 2020
1 parent 11bc420 commit b2946c3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
# Run Ansible playbook Github Action

An action that executes given Ansible playbook on selected hosts.

## Usage

```yaml
- name: Run playbook
uses: dawidd6/action-ansible-playbook
with:
playbook: deploy.yml
key: ${{secrets.SSH_PRIVATE_KEY}}
options: |
--inventory hosts
--limit dev
--extra-vars hello=there
--verbose
```

0 comments on commit b2946c3

Please sign in to comment.