update attributes for the git commits

This commit is contained in:
Chris Hammer
2022-02-23 21:15:24 -05:00
parent 7b4c93453d
commit b4d70faba5

View File

@ -77,9 +77,14 @@
author_email : "{{ git_commit_email }}" author_email : "{{ git_commit_email }}"
actions: actions:
- action : create - action : create
file_path : "successful_jobs/{{ inventory_hostname }}_\ file_path : "successful_jobs/{{ tower_job_id }}_\
{{ tower_job_template_name }}_\
{{ ansible_date_time.iso8601 }}.txt" {{ ansible_date_time.iso8601 }}.txt"
content : | content : |
tower_user_name : {{ tower_user_name }}
tower_job_id : {{ tower_job_id }}
tower_launch_type : {{ tower_launch_type }}
tower_project_revision : {{ tower_project_revision }}
tower_provision_host : {{ inventory_hostname }} tower_provision_host : {{ inventory_hostname }}
tower_provision_rc : {{ r_check_file.rc }} tower_provision_rc : {{ r_check_file.rc }}
tower_provision_stdout : {{ r_check_file.stdout }} tower_provision_stdout : {{ r_check_file.stdout }}
@ -133,9 +138,14 @@
author_email : "{{ git_commit_email }}" author_email : "{{ git_commit_email }}"
actions: actions:
- action : create - action : create
file_path : "failed_jobs/{{ inventory_hostname }}_\ file_path : "failed_jobs/{{ tower_job_id }}_\
{{ tower_job_template_name }}_\
{{ ansible_date_time.iso8601 }}.txt" {{ ansible_date_time.iso8601 }}.txt"
content : | content : |
tower_user_name : {{ tower_user_name }}
tower_job_id : {{ tower_job_id }}
tower_launch_type : {{ tower_launch_type }}
tower_project_revision : {{ tower_project_revision }}
tower_provision_host : {{ inventory_hostname }} tower_provision_host : {{ inventory_hostname }}
tower_provision_rc : {{ r_check_file.rc }} tower_provision_rc : {{ r_check_file.rc }}
tower_provision_stdout : {{ r_check_file.stdout }} tower_provision_stdout : {{ r_check_file.stdout }}