mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-11-22 07:26:25 +00:00
8cd63cd522
Add capabilities for custom inventory and vault password
27 lines
735 B
YAML
27 lines
735 B
YAML
name: Run Ansible playbook
|
|
description: Execute Ansible playbook on selected hosts
|
|
branding:
|
|
color: red
|
|
icon: play
|
|
inputs:
|
|
playbook:
|
|
description: Ansible playbook filepath
|
|
required: true
|
|
directory:
|
|
description: Root directory of Ansible project (defaults to current)
|
|
required: false
|
|
key:
|
|
description: SSH private key used to connect to the host
|
|
required: true
|
|
inventory:
|
|
description: Custom content to write into hosts
|
|
required: false
|
|
vault_password:
|
|
description: The password used for decrypting vaulted files
|
|
required: false
|
|
options:
|
|
description: Extra options that should be passed to ansible-playbook command
|
|
required: false
|
|
runs:
|
|
using: docker
|
|
image: Dockerfile
|