Skip to content

itsBryantP/ansible-zos-cert-renewal-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manage z/OS Certificates

This playbook demonstrates how to copy data to and from a z/OS system using modules included in the Red Hat Ansible Certified Content for IBM Z core collection.

This project contains playbooks and roles that demonstrates certificate renewal using RACF. The playbooks in this project are designed to address an end to end scenario managing z/OS certificates beginning with monitoring certificates using Health Checker, creating an authority and certificates, deleting certificates and even renewing them.

ALthough this is an end to end scenario, you can choose to run the individual playbooks if you are interested in one particular operation. Review the individual playbook for more details.

In addition to providing the various operations, this project goes further and demonstrates how some of the same operations can be run various ways. For example, you will notice that the two modules zos_mvs_raw and zos_tso_command are heavily used to perform the same operation. You can choose to create a certificate authority using the playbook based on zos_mvs_raw which is create_CERTAUTH_cert_raw.yml or you could choose the playbook leveraging TSO commands to do the same thing create_CERTAUTH_cert_tsocmd.yml. Either playbook will yield the same results and this offers you the opportunity to explore multiple ways to do the same operation.

These playbook use:

collection:
    ibm.ibm_zos_core
modules:
    zos_mvs_raw
    zos_tso_command
    zos_operator
    zos_job_submit

It is a good practice to review the playbook contents before executing them. It will help you understand the requirements in terms of space, location, names, authority, and the artifacts that will be created and cleaned up.

Playbook Requirements

This playbook requires:

Configuration

Run the playbook

This project has several playbooks that you can run, choose a playbook-name and substitute it in the command below to execute it.

ansible-playbook -i inventories <playbook-name>

Playbook

Playbooks Using module zos_mvs_raw (operationally the same as playbooks using zos_tso_command)

Playbooks Using module zos_tso_command (operationally the same as playbooks using zos_mvs_raw)

Role Summary

Changelog

All changes are maintained chronologically by date found in the changelog.

Copyright

© Copyright IBM Corporation 2020, 2021

License

Licensed under Apache License, Version 2.0.

Support

Please refer to the support section for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages