workflow test
This commit is contained in:
16
roles/install_demo/tasks/workflow.yml
Normal file
16
roles/install_demo/tasks/workflow.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
#these tasks will install a workflow
|
||||
|
||||
- name: install all job templates in relation to workflow
|
||||
include: add_job_template.yml
|
||||
loop: "{{hostvars[inventory_hostname][demo].job_templates|dict2items}}"
|
||||
|
||||
- tower_workflow_template:
|
||||
name: "{{hostvars[inventory_hostname][demo].name}}"
|
||||
description: "{{hostvars[inventory_hostname][demo].description}}"
|
||||
organization: "{{hostvars[inventory_hostname][demo].organization}}"
|
||||
schema: "{{ hostvars[inventory_hostname][demo].schema}}"
|
||||
tower_username: "{{my_tower_username}}"
|
||||
tower_password: "{{my_tower_password}}"
|
||||
tower_host: "{{my_tower_host}}"
|
||||
validate_certs: no
|
||||
Reference in New Issue
Block a user