IBM Support

Ansible support for IBM i

News


Abstract

The article describes Ansible support for IBM i.

Content

You are in: IBM i Technology Updates > Systems Management > Ansible support for IBM i

Latest Update

IBM i collections in Ansible Galaxy: https://galaxy.ansible.com/ibm/power_ibmi

IBM i collections in Red Hat Automation Hub: https://cloud.redhat.com/ansible/automation-hub/ibm/power_ibmi

Documentation: https://ibm.github.io/ansible-for-i/index.html

What is Ansible?

Ansible is an open source software provisioning, configuration management, and application-deployment tool. It helps on automating, modeling and orchestrating highly complex IT workflows for multiple nodes. Details about Ansible can be found via the link here: https://www.ansible.com/.

Ansible and IBM i modules

IBM i systems can be configured and managed by Ansible running on a Linux® or IBM i partition, with IBM i specific modules installed. From system management and configuration perspective, there are many differences between IBM i and other types of operating systems such as Linux®. IBM i modules help on the tasks against native IBM i objects, database, securities as well as IFS environment. These modules with examples are open source and can be found via the link here: https://github.com/IBM/ansible-for-i

 

If Ansible 2.8 and above is used, the 'gather_facts ' needs to be disabled for IBM i partitions for now. You can disable 'gather_facts' in the playbook as follows:

- hosts: ibmi
  gather_facts: no
Interactive Ansible command and playbook samples for IBM i can be found via this link: https://github.com/IBM/ansible-for-i/tree/devel/playbooks.

[{"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"Component":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.2;7.3;7.4","Edition":"","Line of Business":{"code":"LOB68","label":"Power HW"}}]

Product Synonym

IBM i; Ansible

Document Information

Modified date:
21 April 2025

UID

ibm11167538