From be92a17298504347061db2ced930d466bdebbec1 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Sun, 13 Feb 2022 12:54:12 -0500 Subject: [PATCH] minor formatting changes --- .gitignore | 1 + inmem-test.yml | 4 +++- vars/job_launch_file_creation.yml | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c2c4753..1fe9b8f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ facts.d/* collections/ansible_collections venv/* +builder diff --git a/inmem-test.yml b/inmem-test.yml index 470d044..0affd73 100644 --- a/inmem-test.yml +++ b/inmem-test.yml @@ -59,7 +59,9 @@ - name: Re-create files as needed uri: - url : "{{ tower_api_host }}/api/v2/job_templates/27/launch/" + url : + "{{ tower_api_host }}/api/v2/job_templates/\ + {{ tower_launch_jobs[0].job_template }}/launch/" method : POST status_code : 201 force_basic_auth : yes diff --git a/vars/job_launch_file_creation.yml b/vars/job_launch_file_creation.yml index e407de3..2455736 100644 --- a/vars/job_launch_file_creation.yml +++ b/vars/job_launch_file_creation.yml @@ -1,7 +1,8 @@ --- tower_launch_jobs: - name: file_creation_test - extra_vars: + job_template : 27 + extra_vars : fail_host : "{{ inventory_hostname }}" fail_rc : "{{ r_check_file.rc }}" fail_stdout : "{{ r_check_file.stdout }}"