Dawid Dziurla 5f9b0124a8
action: change default directory to ./
github.workspace directory is not available in container
2020-03-24 22:29:40 +01:00
2020-03-22 12:47:28 +01:00
2020-03-21 17:06:40 +01:00
2020-03-24 22:23:41 +01:00
2020-03-22 12:47:43 +01:00
2020-03-24 22:23:30 +01:00

Run Ansible playbook Github Action

An action that executes given Ansible playbook on selected hosts.

Usage

- name: Run playbook
  uses: dawidd6/action-ansible-playbook
  with:
    playbook: deploy.yml
    directory: ${{github.workspace}}
    key: ${{secrets.SSH_PRIVATE_KEY}}
    options: |
      --inventory hosts
      --limit dev
      --extra-vars hello=there
      --verbose
Description
⚙️ A GitHub Action for running Ansible playbooks
Readme MIT 1.6 MiB
Languages
JavaScript 100%