Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 716 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 716 Bytes

Important

This is not needed, as ansible is build-in in the ubuntu GitHub Runners. I'll not follow this idea further.

Ansible CLI Github Action

This action is based on alpine:3 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: tomasnorre/[email protected]
with:
  command: "ansible-playbook main.yml"

Disclaimer

This is heavily inspired and copied from https://github.com/RvuvuzelaM/ansible-cli-github-action with some build optimisations.