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: ${{github.workspace}}
|
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
|