Skip to main content

Network Configuration Demos

Overview​

Network Demos in Playbooks are used to showcase how to configure network settings on AIX systems using Ansible. These demos include tasks such as setting up TCP/IP configurations, defining hostnames, IP addresses, interfaces, nameservers, and domains.

Usage Example​

The playbook playbooks/demo_mktcpip.yml is an example that demonstrates setting the required values for starting TCP/IP on an AIX system. It uses the ibm.power_aix.mktcpip module to apply the network configurations specified in the playbook.


The playbook playbooks/demo_mktcpip.yml demonstrates setting the required values for starting TCP/IP on an AIX system. It uses the ibm.power_aix.mktcpip module to apply the network configurations specified in the playbook. The playbook includes tasks such as setting up TCP/IP configurations, defining hostnames, IP addresses, interfaces, nameservers, and domains.

---
- name: MKTCPIP on AIX
hosts: "{{ host_name }}"
gather_facts: false
vars:
host_name: all
address_v: 192.9.200.4
nameserver_v: 192.9.200.1
interface_v: en0
domain_v: austin.century.com
tasks:
- name: Set the required values for starting TCP/IP
ibm.power_aix.mktcpip:
hostname: fred.austin.century.com
address: "{{ address_v }}"
interface: "{{ interface_v }}"
nameserver: "{{ nameserver_v }}"
domain: "{{ domain_v }}"
start_daemons: true

 

This is an auto-generated document by Swimm 🌊 and has not yet been verified by a human