Skip to content

Commit

Permalink
Merge branch 'main' into enabler/1618/create_gdg_playbooks_into_respo…
Browse files Browse the repository at this point in the history
…sitory
  • Loading branch information
AndreMarcel99 authored Nov 13, 2024
2 parents af31528 + 0d73bf4 commit 47b7ba2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 27 deletions.
4 changes: 2 additions & 2 deletions ibm_concert/cert_renewal/inventories/host_vars/zos_host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ ansible_python_interpreter: "{{ PYZ }}/bin/python3"

# varibles for templates
JOB_CARD: |-
//HZSPRINT JOB ,
// MSGCLASS=H,MSGLEVEL=(1,1),CLASS=A
//ANSIBLE JOB ,
// MSGCLASS=msg_class,MSGLEVEL=(1,1),CLASS=job_class
13 changes: 0 additions & 13 deletions ibm_concert/cert_renewal/renew_cert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,13 @@
cert_type: 'USER' # defautl to USER
cert_label: ''
sign_with: 'CERTAUTH' # blank or CERTAUTH
# sign_label: 'IBM CA'
keyring_name: ''
expiry_date: '2025-12-31'
cert_detail: {}
cert_args: {}
cert_found: false
today: ''

uss_file_path: '{{ playbook_tmp_dir.path }}'

tasks:
- ansible.builtin.debug:
var: sn_short_desc
Expand Down Expand Up @@ -64,12 +61,6 @@
'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

- block:
- name: Run Health Checker
ibm.ibm_zos_core.zos_operator:
Expand Down Expand Up @@ -295,10 +286,6 @@
delegate_to: localhost

always:
- 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 }}
Expand Down
12 changes: 0 additions & 12 deletions ibm_concert/cert_renewal/send_cert_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
gather_facts: false
environment: "{{ environment_vars }}"
vars:

# IBM Concert variables
concert_hostname: ''
concert_instance_id: ''
Expand All @@ -26,15 +25,8 @@
sysout_lines: []
cert_found: false

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

- block:
- name: Run Health Checker
ibm.ibm_zos_core.zos_operator:
Expand Down Expand Up @@ -175,10 +167,6 @@
delegate_to: localhost

always:
- 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 }}
Expand Down

0 comments on commit 47b7ba2

Please sign in to comment.