Mainframe Path Start learning free
BeginnerModernization34 min

Ansible and playbooks

Automate servers and z/OS the same way: what Ansible is, inventories and modules, writing and running playbooks, why running them twice is safe, and IBM's z/OS collection.

What you will be able to do

Lessons

  1. What Ansible is and how it works
    Ansible is a free, open-source automation tool, backed by Red Hat. From one control node it connects to the machines it manages over SSH, with no agent to install on them, runs…
  2. Inventory, modules and ad-hoc commands
    The inventory lists the machines Ansible manages, sorted into groups. Modules are the units of work, such as copy, file, package or service.
  3. Writing and running a playbook
    A playbook is a YAML file of plays. Each play picks a group of hosts and lists tasks, and each task calls one module with its arguments.
  4. Run it twice: idempotence, roles and Vault
    Well-written Ansible tasks are idempotent: running them a second time changes nothing, because the system is already in the described state.
  5. Ansible for z/OS
    IBM's certified Ansible collection for z/OS, ibm.ibm_zos_core, lets the same playbooks manage datasets, submit jobs, copy files and issue operator commands on z/OS.

Track your progress and earn a certificate.
Free account, 30 quiz questions for this subject.

Start this subject