Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-2941

GRC RFE add option to invoke Ansible workflows from ACM automation

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • ACM 2.7.0
    • GRC
    • RFE add option to invoke Ansible workflows from ACM automation (GRC)
    • False
    • None
    • False
    • Hide
      What lifecycle area in particular are you looking for the Ansible Workflows? Cluster/Application/Policy (or all). All
      Which of those are you specifically experiencing the issue with today? Upgrade / Creation
      If implemented would you be able to assist with testing that this feature works in your environment? Yes

      Show
      What lifecycle area in particular are you looking for the Ansible Workflows? Cluster/Application/Policy (or all). All Which of those are you specifically experiencing the issue with today? Upgrade / Creation If implemented would you be able to assist with testing that this feature works in your environment? Yes
    • To Do
    • ACM-614 - Ansible Integration for RHACM events and life cycles

      This issue is already fixed for ClusterLifecycle and ApplicationLifecycle

      Customer would like the ability to invoke Ansible workflows from ACM automation. Currently it fetches only job templates

      In the following link you can see how it is configured in Ansible:
      https://docs.ansible.com/ansible-tower/latest/html/userguide/workflow_templates.html

      So we could treat Templates as either Job templates or workflow-templates

      Basically we want to support two scenarios:

      So basically we will support the two scenarios
      If users want to invoke a playbook in the Ansible tower, they need to fill in the job_template_name in the

       

      AnsibleJobs CR.
      apiVersion: tower.ansible.com/v1alpha1
      kind: AnsibleJob
      metadata:
      name: prehook-test
      namespace: default
      spec:
      job_template_name: Demo Job Template
      tower_auth_secret: toweraccess

       

      If users want to invoke a workflow in the Ansible tower, they need to fill in the workflow_template_name in the

      AnsibleJobs CR.

       

      apiVersion: tower.ansible.com/v1alpha1
      kind: AnsibleJob
      metadata:
      name: prehook-test
      namespace: default
      spec:
      workflow_template_name: Demo Workflow Template
      tower_auth_secret: toweraccess

       

       

       

              rhn-support-cstark Christian Stark
              rhn-support-rspagnol Ryan Spagnola
              Derek Ho Derek Ho
              Christian Stark Christian Stark
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: