ossiemarks / ansible-cli-github-action

Allows one to run Ansible and Linux related commands with Github Actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible CLI Github Action

This action is based on ubuntu:bionic image.
You can execute all Ansible related actions i.e, ansible or ansible-playbook.
You can also execute standard Linux commands as base Docker image is ubuntu.

Inputs

command

Required Command to execute. Default "ansible-playbook".

Example usage

uses: actions/ansible-cli-action@latest
with:
  # Basic AWS usage
  -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
  -e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
  <!-- -v $(pwd):/data \ -->
  cytopia/ansible:latest-aws ansible-playbook playbook.yml

About

Allows one to run Ansible and Linux related commands with Github Actions


Languages

Language:Dockerfile 90.3%Language:Shell 9.7%