diff --git a/ibm_concert/cert_renewal/HZSPRINT.J2 b/ibm_concert/cert_renewal/HZSPRINT.J2 index 121fcdc20..6b3cda5ea 100644 --- a/ibm_concert/cert_renewal/HZSPRINT.J2 +++ b/ibm_concert/cert_renewal/HZSPRINT.J2 @@ -1,4 +1,4 @@ -{{ JOB_CARD }} +{{ HZSPRINT_JOB_CARD }} //HZSPRINT EXEC PGM=HZSPRNT,TIME=1440,REGION=0M,PARMDD=SYSIN //SYSIN DD *,DLM='@@' CHECK(IBMRACF,RACF_CERTIFICATE_EXPIRATION) diff --git a/ibm_concert/cert_renewal/inventories/host_vars/zos_host.yml b/ibm_concert/cert_renewal/inventories/host_vars/zos_host.yml index f354dc320..8ff7d4dc8 100644 --- a/ibm_concert/cert_renewal/inventories/host_vars/zos_host.yml +++ b/ibm_concert/cert_renewal/inventories/host_vars/zos_host.yml @@ -25,6 +25,6 @@ ZOAU: "path_to_zoau" ansible_python_interpreter: "{{ PYZ }}/bin/python3" # varibles for templates -JOB_CARD: |- +HZSPRINT_JOB_CARD: |- //HZSPRINT JOB , - // MSGCLASS=H,MSGLEVEL=(1,1),CLASS=A + // MSGCLASS=msg_class,MSGLEVEL=(1,1),CLASS=job_class diff --git a/ibm_concert/cert_renewal/renew_cert.yml b/ibm_concert/cert_renewal/renew_cert.yml index 0767fc4f6..f317c44ed 100644 --- a/ibm_concert/cert_renewal/renew_cert.yml +++ b/ibm_concert/cert_renewal/renew_cert.yml @@ -33,7 +33,7 @@ cert_found: false today: '' - uss_file_path: '{{ playbook_tmp_dir.path }}' + # uss_file_path: '{{ playbook_tmp_dir.path }}' tasks: - ansible.builtin.debug: @@ -64,11 +64,11 @@ 'cert_type': 'CERTAUTH' when: arg_cert_type is search('CERTAUTH') - - name: Create temporary directory for playbook use - ansible.builtin.tempfile: - state: directory - path: /tmp - register: playbook_tmp_dir + # - name: Create temporary directory for playbook use + # ansible.builtin.tempfile: + # state: directory + # path: /tmp + # register: playbook_tmp_dir - block: - name: Run Health Checker @@ -295,10 +295,10 @@ delegate_to: localhost always: - - name: Delete the temporary directory - ansible.builtin.file: - path: "{{ playbook_tmp_dir.path }}" - state: absent + # - name: Delete the temporary directory + # ansible.builtin.file: + # path: "{{ playbook_tmp_dir.path }}" + # state: absent - name: Delete the CSV on z/OS ansible.builtin.file: path: /tmp/{{ concert_csv_file }} diff --git a/ibm_concert/cert_renewal/send_cert_data.yml b/ibm_concert/cert_renewal/send_cert_data.yml index 383bd28a6..1a2aea0ec 100644 --- a/ibm_concert/cert_renewal/send_cert_data.yml +++ b/ibm_concert/cert_renewal/send_cert_data.yml @@ -6,7 +6,6 @@ gather_facts: false environment: "{{ environment_vars }}" vars: - # IBM Concert variables concert_hostname: '' concert_instance_id: '' @@ -26,14 +25,14 @@ sysout_lines: [] cert_found: false - uss_file_path: '{{ playbook_tmp_dir.path }}' + # uss_file_path: '{{ playbook_tmp_dir.path }}' tasks: - - name: Create temporary directory to store bank files - ansible.builtin.tempfile: - state: directory - path: /tmp - register: playbook_tmp_dir + # - name: Create temporary directory to store bank files + # ansible.builtin.tempfile: + # state: directory + # path: /tmp + # register: playbook_tmp_dir - block: - name: Run Health Checker @@ -175,10 +174,10 @@ delegate_to: localhost always: - - name: Delete the temporary directory - ansible.builtin.file: - path: "{{ playbook_tmp_dir.path }}" - state: absent + # - name: Delete the temporary directory + # ansible.builtin.file: + # path: "{{ playbook_tmp_dir.path }}" + # state: absent - name: Delete the CSV on z/os ansible.builtin.file: path: /tmp/{{ concert_csv_file }}