feat(ansible): document inventory_hostname requirement

!38 nofusscomputing/infrastructure/configuration-management/project-production!7
This commit is contained in:
2023-11-30 15:06:17 +09:30
parent 0303446664
commit b12c53de14

View File

@ -97,6 +97,7 @@ Ansible inventory directory structure.
### Inventory
Naming of host inventory files is to use the hostname portion of the FQDN only. i.e. for a host with a FQDN of `myhostname.domain.tld` it's `inventory_hostname` would be `myhostname`. This requirement is a must as many parts of our roles and playbooks depend upon this value matching the DNS system.
#### hosts file