Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Currently, the Ansible Terraform Provider supports triggering only individual job templates, but there is no support for triggering workflow job templates. This limitation poses challenges in scenarios where workflows are designed to orchestrate multiple job templates or manage complex automation pipelines. #46

Open
ravijoshi1810 opened this issue Jan 13, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@ravijoshi1810
Copy link

Current Challenges

  1. Defining multiple job_template resources in Terraform leads to verbose configurations that are harder to manage and maintain.
  2. Monitoring the status of individual job templates separately is cumbersome and prone to errors.

Proposed Solution

  1. Extend the Ansible Terraform Provider to support the triggering of workflow job templates.
  2. Introduce a new resource (e.g., ansible_workflow_job_template) or enhance the existing ansible_job_template resource to handle workflows.
  3. Allow users to specify a single workflow job template ID, which Terraform can use to trigger and monitor the entire workflow.

Benefit -

  1. Single Template for Monitoring:
  2. Simplified Resource Management: by defining single workflow_job_template.
  3. Improved Scalability: For large-scale automation, workflows provide a centralized way to trigger and manage sequences of tasks, which is not feasible with individual job templates.

Thank you for considering this enhancement. happy to provide additional details or examples to support this request.

@gravesm gravesm added the enhancement New feature or request label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants