remove unneeded vars, variablize recovery stuffs for block/rescue in inmem-test.yml
This commit is contained in:
@ -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/"
|
||||
|
||||
|
||||
...
|
||||
|
@ -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 }}"
|
||||
|
||||
|
||||
...
|
Reference in New Issue
Block a user