action-ansible-playbook/action.yml
2020-12-06 17:05:44 +01:00

32 lines
838 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
requirements:
description: Ansible Galaxy requirements filepath
required: false
directory:
description: Root directory of Ansible project (defaults to current)
required: false
key:
description: SSH private key used to connect to the host
required: false
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: node12
main: main.js
post: post.js