2021-02-11 17:28:23 +01:00
2020-12-09 11:56:40 +01:00
2020-12-06 17:05:44 +01:00
2020-05-03 11:55:12 +02:00
2020-03-21 17:06:40 +01:00
2020-12-09 11:56:40 +01:00
2020-12-09 11:56:40 +01:00
2020-03-22 12:47:43 +01:00
2020-05-03 18:04:31 +02:00
2020-12-06 17:06:16 +01:00

Run Ansible playbook Github Action

An action that executes given Ansible playbook on selected hosts.

Should work on any OS, if ansible-playbook command is available in PATH.

Usage

- name: Run playbook
  uses: dawidd6/action-ansible-playbook@v2
  with:
    playbook: deploy.yml
    directory: ./
    key: ${{secrets.SSH_PRIVATE_KEY}}
    inventory: |
      [all]
      example.com

      [group1]
      example.com
    vault_password: ${{secrets.VAULT_PASSWORD}}
    options: |
      --limit group1
      --extra-vars hello=there
      --verbose
Description
⚙️ A GitHub Action for running Ansible playbooks
Readme MIT 1.6 MiB
Languages
JavaScript 100%