rundeck-plugins / ansible-plugin

Ansible Integration for Rundeck
MIT License
329 stars 99 forks source link

RSE-793 (Ansible plugin) Fix: Generate inventory in node step. #340

Closed DarwisNarvaezDev closed 6 months ago

DarwisNarvaezDev commented 10 months ago

RSE-793 (Ansible plugin) Fix: Generate inventory in node step.

Part of a bundle of solutions to fix the main problem: 'AnsiblePlaybookInlineWorkflowNodeStep' plugin could not execute remote nodes through runner.

The Problem

The plugin was not creating the inventory during the execution (fixed with this PR)

The solution

Set the property "ansible-generate-inventory" to be user managed through plugin definition.

WIP, still trying to figure out how to pass the prop from the node executor w/o touching the plugin.