Skip to content
zap

GitHub Action

Run Logikal Playbook

v2.0.0 Latest version

Run Logikal Playbook

zap

Run Logikal Playbook

Run a Logikal Ansible playbook

Installation

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

              

- name: Run Logikal Playbook

uses: logikal-io/[email protected]

Learn more about this action in logikal-io/run-logikal-playbook

Choose a version

Run Logikal Playbook

GitHub Action for running a Logikal Ansible playbook.

Usage

steps:
  - uses: logikal-io/run-logikal-playbook@v2
    with:
      roles: role1, role2, ...
      vars: '{"key1": "value1", "key2": "value2", ...}'

Inputs

roles: Required, a comma-separated list of the roles to run. The available roles can be found in the ansible-public-playbooks repository.

vars: Optional, the variables to set as a string-encoded JSON. The available variables can be found in the vars/main.yml file of the appropriate role.

version: Optional, the ansible-public-playbooks repository version to use.

License

This GitHub Action is licensed under the MIT open source license.