even more fixes

This commit is contained in:
Chris Hammer
2022-02-10 13:56:57 -05:00
parent 908e9ece0c
commit 55c78b05e1
2 changed files with 18 additions and 2 deletions

View File

@ -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: