User Tools

Site Tools


ansible:ansible_inventory

This is an old revision of the document!


Ansible inventory

It is written in an INI or YAML format, lists host and groups.
Can be static of dynamic.

Example of Collection of groups Dev:children

# cat /etc/ansible/hosts
[managedClients]
[RHEL_Dev]
lab-rhel-1
lab-rhel-2

[AIX_Dev]
lab-aix-1
lab-aix-2

[Dev:children]
RHEL_Dev
AIX_Dev
ansible/ansible_inventory.1693829747.txt.gz · Last modified: 2023/09/04 14:15 by manu