install everything!

This commit is contained in:
ipvsean
2020-03-10 15:29:12 -04:00
parent 4d021aa01c
commit 68e1bfb11b
6 changed files with 84 additions and 58 deletions

View File

@@ -0,0 +1,15 @@
---
- name: "INSIDE LOOP - install all job templates in relation to workflow {{item.value.name}}"
include_tasks: job_template_loop.yml
loop: "{{item.value.job_templates|dict2items}}"
- name: "INSIDE LOOP - install workflow template {{item.value.name}}"
tower_workflow_template:
name: "{{item.value.name}}"
description: "{{item.value.description}}"
organization: "{{item.value.organization}}"
schema: "{{item.value.schema}}"
tower_username: "{{my_tower_username}}"
tower_password: "{{my_tower_password}}"
tower_host: "{{my_tower_host}}"
validate_certs: no