Clan directory management¶
A clan, aka a group of hosts managed by the rtnp.galaxie_clans ansible collection, is defined by:
a dedicated directory containing…
…an
ansible.cfgfile…an
ssh.cfgfile…an
inventoryfile
Conventions¶
All of the clan hosts are members of the
[glxclans]inventory group.All of the clan group vars are written in yaml format under
group_vars/glxclans/directory.All managed host must have a short name (RFC-1035 compliant).
All ssh connection parameters for a host must be in the
ssh.cfgfile.The short name of a host must match between
inventoryandssh.cfg.No additional ansible vars should be declared in the
inventoryfile.Any specific clan host var is written in yaml format under
host_vars/${inventory_hostname}/whatever.yml.For all hosts, facts caching must be enabled. TOM is to make it unitary available to read for any upper-level binary.