remove unneeded vars, variablize recovery stuffs for block/rescue in inmem-test.yml

This commit is contained in:
Chris Hammer
2022-02-13 21:04:43 -05:00
parent be92a17298
commit 2a45fef497
3 changed files with 15 additions and 18 deletions

View File

@ -2,3 +2,16 @@
tower_api_host : https://tower2.thezengarden.net
tower_api_user : admin
tower_api_pass : redhat
# Sample Job Template ID in Tower/AAP to use
# for testing via inmem-test.yml:
sample_job_template: 27
# Callback URL for inmem-test.yml's rescue block:
recovery_callback_url: "{{ tower_api_host }}/api/v2/job_templates/\
{{ sample_job_template }}/launch/"
...

View File

@ -1,13 +0,0 @@
---
tower_launch_jobs:
- name: file_creation_test
job_template : 27
extra_vars :
fail_host : "{{ inventory_hostname }}"
fail_rc : "{{ r_check_file.rc }}"
fail_stdout : "{{ r_check_file.stdout }}"
fail_stderr : "{{ r_check_file.stderr }}"
fail_msg : "{{ r_check_file.msg }}"
...