Ansible Role: inetd
The IBM Power Systems AIX collection provides an Ansible role, referred to as inetd, which can be used to enable or disable inetd services, including ftpd, rlogind, rexecd, rshd, telnetd.
For guides and reference, see the Docs Site.
Requirements
None.
Role Variables
Available variables are listed below, along with default values:
| Role Variables | |||||
|---|---|---|---|---|---|
| Variable | Options | Required | Default | Choices | Comments |
| inetd_services | false | empty string | Specifies a list of inetd services to enable or disable. | ||
| inetd_state | false | enabled | Specifies to enable or disable the services. | ||
| inetd_backup | false | false | Specifies to back up the /etc/inetd.conf file. | ||
NOTES:
Refer to the inetd.conf File Format for TCP/IP for additional information.
Dependencies
None.
Example Playbook
- name: Disable talk/ntalk, telnet and xmquery
ansible.builtin.include_role:
name: ibm.power_aix.inetd
vars:
inetd_services:
- talk
- ntalk
- telnet
- xmquery
inetd_state: disabled
inetd_backup: yes
Copyright
© Copyright IBM Corporation 2026