update to allow use of id for unified job template

This commit is contained in:
sean-m-ssullivan
2021-10-04 18:52:50 -04:00
parent 07f193d8d6
commit a28c023cf1
3 changed files with 7 additions and 12 deletions

View File

@@ -117,11 +117,11 @@
source_path: "/inventories/inventory.ini"
overwrite: true
source: scm
register: result
register: project_inv_source_result
- assert:
that:
- "result is changed"
- "project_inv_source_result is changed"
- name: Create a Job Template
job_template:
@@ -159,11 +159,11 @@
playbook: hello_world.yml
job_type: run
state: present
register: result
register: jt2_name_result
- assert:
that:
- "result is changed"
- "jt2_name_result is changed"
- name: Add a Survey to second Job Template
job_template:
@@ -536,7 +536,7 @@
schema:
- identifier: node101
unified_job_template:
name: "{{ project_inv_source }}"
name: "{{ project_inv_source_result.id }}"
inventory:
organization:
name: Default