Ansible role to build AAP workflow objects
Step 1: Install the role in your environment.
- You could have roles/requirements.yml if running on AAP.
- Or simple install on your environment.
Step 2: Define your variables in the structure below
- build : true/false # Bool value to switch role on off.
- workflow_name : Name of the workflow you want to build
- inventory : Name of the inventory to run against
- organization : Name of the organization
- job_tmplts_list : list of job templates to link into a worklow.
- nodes_linking_list : lists of job_x <> job_y links to be linked ** See example**
Step 3: Call the role from your playbook.
example-vars.yml
example-playbook.yml