even more fixes
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
|
||||
|
||||
vars_files:
|
||||
- vars/defaults.yml
|
||||
- vars/job_launch_file_creation.yml
|
||||
|
||||
|
||||
@ -56,8 +57,19 @@
|
||||
- "msg : {{ r_check_file.msg }}"
|
||||
|
||||
|
||||
- include_role:
|
||||
name: redhat_cop.tower_configuration.job_launch
|
||||
- name: Re-create files as needed
|
||||
uri:
|
||||
url : "{{ tower_api_host }}/api/v2/job_templates/22/launch/"
|
||||
method : POST
|
||||
status_code : 201
|
||||
force_basic_auth : yes
|
||||
url_username : "{{ tower_api_user }}"
|
||||
url_password : "{{ tower_api_pass }}"
|
||||
body_format : json
|
||||
return_content : no
|
||||
validate_certs : no
|
||||
body:
|
||||
trigger: me
|
||||
|
||||
|
||||
always:
|
||||
|
4
vars/defaults.yml
Normal file
4
vars/defaults.yml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
tower_api_host : https://tower2.thezengarden.net
|
||||
tower_api_user : admin
|
||||
tower_api_pass : redhat
|
Reference in New Issue
Block a user