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-12-06 16:05:44 +00:00
|
|
|
requirements:
|
|
|
|
description: Ansible Galaxy requirements filepath
|
|
|
|
required: false
|
2020-03-24 21:23:19 +00:00
|
|
|
directory:
|
2020-03-24 21:43:22 +00:00
|
|
|
description: Root directory of Ansible project (defaults to current)
|
2020-03-24 21:23:19 +00:00
|
|
|
required: false
|
2024-01-17 09:06:09 +00:00
|
|
|
configuration:
|
|
|
|
description: Ansible configuration file content (ansible.cfg)
|
|
|
|
required: false
|
2020-03-21 16:06:40 +00:00
|
|
|
key:
|
|
|
|
description: SSH private key used to connect to the host
|
2020-05-01 18:11:28 +00:00
|
|
|
required: false
|
2020-03-22 19:30:44 +00:00
|
|
|
inventory:
|
|
|
|
description: Custom content to write into hosts
|
|
|
|
required: false
|
|
|
|
vault_password:
|
|
|
|
description: The password used for decrypting vaulted files
|
|
|
|
required: false
|
2021-04-04 18:51:37 +00:00
|
|
|
known_hosts:
|
|
|
|
description: Contents of SSH known_hosts file
|
|
|
|
required: false
|
2020-03-21 16:06:40 +00:00
|
|
|
options:
|
|
|
|
description: Extra options that should be passed to ansible-playbook command
|
|
|
|
required: false
|
2021-07-19 15:49:48 +00:00
|
|
|
sudo:
|
|
|
|
description: Set to "true" if root is required for running your playbook
|
|
|
|
required: false
|
2021-08-01 15:03:21 +00:00
|
|
|
no_color:
|
|
|
|
description: Set to "true" if the Ansible output should not include colors (defaults to "false")
|
|
|
|
required: false
|
2021-07-31 16:13:50 +00:00
|
|
|
outputs:
|
|
|
|
output:
|
|
|
|
description: The captured output of both stdout and stderr from the Ansible Playbook run
|
2020-03-21 15:36:23 +00:00
|
|
|
runs:
|
2022-10-15 07:24:02 +00:00
|
|
|
using: node16
|
2020-05-01 18:11:28 +00:00
|
|
|
main: main.js
|
2020-05-07 09:41:53 +00:00
|
|
|
post: post.js
|