action-ansible-playbook/action.yml

28 lines
735 B
YAML
Raw Permalink Normal View History

2020-03-21 10:06:40 -06:00
name: Run Ansible playbook
description: Execute Ansible playbook on selected hosts
branding:
color: red
icon: play
inputs:
playbook:
description: Ansible playbook filepath
required: true
2020-03-24 15:23:19 -06:00
directory:
description: Root directory of Ansible project (defaults to current)
2020-03-24 15:23:19 -06:00
required: false
2020-03-21 10:06:40 -06:00
key:
description: SSH private key used to connect to the host
2020-03-21 13:54:29 -06:00
required: true
inventory:
description: Custom content to write into hosts
required: false
vault_password:
description: The password used for decrypting vaulted files
required: false
2020-03-21 10:06:40 -06:00
options:
description: Extra options that should be passed to ansible-playbook command
required: false
2020-03-21 09:36:23 -06:00
runs:
2020-03-21 10:06:40 -06:00
using: docker
image: Dockerfile