All Projects → dawidd6 → action-ansible-playbook

dawidd6 / action-ansible-playbook

Licence: MIT license
⚙️ A GitHub Action for running Ansible playbooks

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to action-ansible-playbook

GitHub-Pages-deploy
A GitHub Action to deploy a static site on GitHub Pages.
Stars: ✭ 42 (-68.42%)
Mutual labels:  action, github-actions
upload-to-discord
A GitHub Action that uploads a file to Discord channel.
Stars: ✭ 44 (-66.92%)
Mutual labels:  action, github-actions
action-eslint
🐋🐬 TypeScript/JavaScript ESLint action
Stars: ✭ 24 (-81.95%)
Mutual labels:  action, github-actions
Graylog Ansible Role
Ansible role which installs and configures Graylog
Stars: ✭ 173 (+30.08%)
Mutual labels:  ansible-playbook, playbook
verify-linked-issue-action
A GitHub action that verifies your pull request contains a reference to an issue.
Stars: ✭ 18 (-86.47%)
Mutual labels:  action, github-actions
Ansible Playbook Grapher
A command line tool to create a graph representing your Ansible playbook tasks and roles
Stars: ✭ 234 (+75.94%)
Mutual labels:  ansible-playbook, playbook
actions
Set of actions for implementing CI/CD with werf and GitHub Actions
Stars: ✭ 67 (-49.62%)
Mutual labels:  action, github-actions
upx-action
Strips and runs upx on binaries
Stars: ✭ 17 (-87.22%)
Mutual labels:  action, github-actions
setup-jdk
(DEPRECATED) Set up your GitHub Actions workflow with a specific version of AdoptOpenJDK
Stars: ✭ 32 (-75.94%)
Mutual labels:  action, github-actions
dart-package-publisher
Action to Publish Dart / Flutter Package To https://pub.dev When you need to publish a package, just bump the version in pubspec.yaml
Stars: ✭ 45 (-66.17%)
Mutual labels:  action, github-actions
Terraform Null Ansible
Terraform Module to run ansible playbooks
Stars: ✭ 114 (-14.29%)
Mutual labels:  ansible-playbook, playbook
clojure-dependency-update-action
A simple GitHub Actions job to create Pull Requests for outdated dependencies in clojure projects
Stars: ✭ 37 (-72.18%)
Mutual labels:  action, github-actions
Upcloud Ansible
Dynamic inventory and modules for managing servers via UpCloud's API
Stars: ✭ 50 (-62.41%)
Mutual labels:  ansible-playbook, playbook
action-homebrew-bump-formula
⚙️ A GitHub Action to easily bump Homebrew formula on new release
Stars: ✭ 68 (-48.87%)
Mutual labels:  action, github-actions
ansible-taskrunner
Ansible Taskrunner - ansible-playbook wrapper with YAML-abstracted python click cli options!
Stars: ✭ 14 (-89.47%)
Mutual labels:  ansible-playbook, playbook
setup-bats
GitHub Action to setup BATS testing framework
Stars: ✭ 25 (-81.2%)
Mutual labels:  action, github-actions
action-sync-node-meta
GitHub Action that syncs package.json with the repository metadata.
Stars: ✭ 25 (-81.2%)
Mutual labels:  action, github-actions
github-run-tests-action
mabl Github Actions implementation
Stars: ✭ 39 (-70.68%)
Mutual labels:  action, github-actions
action.playbook
Github Action for running Ansible Playbooks.
Stars: ✭ 26 (-80.45%)
Mutual labels:  ansible-playbook, github-actions
chronoman
Utility class to simplify use of timers created by setTimeout
Stars: ✭ 15 (-88.72%)
Mutual labels:  action, run

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:
    # Required, playbook filepath
    playbook: deploy.yml
    # Optional, directory where playbooks live
    directory: ./
    # Optional, SSH private key
    key: ${{secrets.SSH_PRIVATE_KEY}}
    # Optional, literal inventory file contents
    inventory: |
      [all]
      example.com

      [group1]
      example.com
    # Optional, SSH known hosts file content
    known_hosts: .known_hosts
    # Optional, encrypted vault password
    vault_password: ${{secrets.VAULT_PASSWORD}}
    # Optional, galaxy requirements filepath
    requirements: galaxy-requirements.yml
    # Optional, additional flags to pass to ansible-playbook
    options: |
      --inventory .hosts
      --limit group1
      --extra-vars hello=there
      --verbose
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].