1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2024-11-22 15:32:18 +00:00
action-ansible-playbook/action.yml

23 lines
542 B
YAML
Raw Normal View History

2020-03-21 16:06:40 +00: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 21:23:19 +00:00
directory:
description: Root directory of Ansible project
required: false
default: ./
2020-03-21 16:06:40 +00:00
key:
description: SSH private key used to connect to the host
2020-03-21 19:54:29 +00:00
required: true
2020-03-21 16:06:40 +00:00
options:
description: Extra options that should be passed to ansible-playbook command
required: false
2020-03-21 15:36:23 +00:00
runs:
2020-03-21 16:06:40 +00:00
using: docker
image: Dockerfile