feat: add ansible-playbook command

This commit is contained in:
2025-08-14 07:27:55 -07:00
parent e32d38ea2f
commit 6131f838c2
2 changed files with 61 additions and 14 deletions

View File

@@ -20,8 +20,8 @@ inputs:
description: Ansible playbook filepath
required: true
inventory:
description: Ansible inventory filepath
required: true
description: Ansible inventory expression or filepath (multiple lines will be converted to a file)
required: false
requirements:
description: Ansible Galaxy requirements filepath
required: false
@@ -34,15 +34,6 @@ inputs:
vault_password:
description: The password used for decrypting vaulted files
required: false
private_key:
description: SSH private key used to connect to the host
required: false
known_hosts:
description: Contents of SSH known_hosts file
required: false
options:
description: Extra options that should be passed to ansible-playbook command
required: false
become:
description: Set to "true" if root is required for running your playbook
required: false
@@ -51,6 +42,9 @@ inputs:
description: Set to "true" to enable check (dry-run) mode
required: false
default: false
options:
description: Extra options that should be passed to ansible-playbook command
required: false
runs:
using: docker
image: Dockerfile