Skip to content
play

GitHub Action

Ansible CLI Github Action

1 Latest version

Ansible CLI Github Action

play

Ansible CLI Github Action

Allows one to run Ansible and Linux related commands

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Ansible CLI Github Action

uses: RvuvuzelaM/ansible-cli-github-action@1

Learn more about this action in RvuvuzelaM/ansible-cli-github-action

Choose a version

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:
  command: "ansible-playbook main.yml"