⚙️ A GitHub Action for running Ansible playbooks
Go to file
2020-03-23 23:12:27 +01:00
.github/workflows workflows: use inventory and limit 2020-03-22 12:47:57 +01:00
action.yml action: make key input required 2020-03-21 20:54:29 +01:00
Dockerfile Dockerfile: don't install bind-tools 2020-03-22 12:16:54 +01:00
Dockerfile.test Dockerfile.test: correct path to sftp 2020-03-22 12:53:06 +01:00
hosts add hosts inventory 2020-03-22 12:47:28 +01:00
LICENSE init 2020-03-21 17:06:40 +01:00
main.sh main: don't set ANSIBLE_PRIVATE_KEY_FILE 2020-03-22 12:55:30 +01:00
playbook.yml playbook: hosts=all 2020-03-22 12:47:43 +01:00
README.md README: fix usage 2020-03-23 23:12:27 +01:00
test.sh add testing Dockerfile and entrypoint script 2020-03-22 12:16:35 +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@master
  with:
    playbook: deploy.yml
    key: ${{secrets.SSH_PRIVATE_KEY}}
    options: |
      --inventory hosts
      --limit dev
      --extra-vars hello=there
      --verbose