add and make use of the remediation workflow via split-host-job-launch.yml

This commit is contained in:
2022-05-03 23:56:49 -04:00
parent 2454dcaa9d
commit 158acd0406
2 changed files with 9 additions and 4 deletions

View File

@ -11,9 +11,9 @@
tasks:
- name: Launch job per each host
#no_log : "{{ __no_log | default('yes') }}"
no_log : "{{ __no_log | default('yes') }}"
uri :
url : "{{ tower_file_creation_url }}"
url : "{{ tower_remdiation_workflow }}"
force_basic_auth : yes
user : "{{ tower_user }}"
password : "{{ tower_password }}"

View File

@ -8,12 +8,17 @@ __no_log: yes
tower_url : 'https://tower2.thezengarden.net'
tower_user : admin
tower_password : redhat
tower_file_removal_template : 13
tower_file_creation_template : 20
tower_file_removal_template : 13
tower_file_creation_template : 20
tower_remediation_workflow_template : 29
tower_file_remove_url : "{{ tower_url }}/api/v2/job_templates/\
{{ tower_file_removal_template }}/launch/"
tower_file_creation_url : "{{ tower_url }}/api/v2/job_templates/\
{{ tower_file_creation_template }}/launch/"
tower_remdiation_workflow : "{{ tower_url}}/api/v2/workflow_job_templates/\
{{ tower_remediation_workflow_template }}/launch/"
gitlab_url : 'https://git.thezengarden.net'