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

44 lines
1.2 KiB
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-12-06 16:05:44 +00:00
requirements:
description: Ansible Galaxy requirements filepath
required: false
2020-03-24 21:23:19 +00:00
directory:
description: Root directory of Ansible project (defaults to current)
2020-03-24 21:23:19 +00:00
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
inventory:
description: Custom content to write into hosts
required: false
vault_password:
description: The password used for decrypting vaulted files
required: false
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
sudo:
description: Set to "true" if root is required for running your playbook
required: false
no_color:
description: Set to "true" if the Ansible output should not include colors (defaults to "false")
required: false
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:
2020-05-01 18:11:28 +00:00
using: node12
main: main.js
2020-05-07 09:41:53 +00:00
post: post.js