d74d038032
According to RFC1034 [1], underscores are not legitimate symbols for hostnames. We have a naming convention that historically uses underscores in names of containers which leads to a complications in some cases/logic Moreover, container actual hostnames are always different from their inventory_hostnames, which might break some logic of external dependencies. To change this historical issue, all new containers will have different naming convention, where only dash will be used as a separator. This will not touch already existing in inventory containers and they will preserve their names for the time being. [1] http://www.faqs.org/rfcs/rfc1034.html Change-Id: Iedebf9935059ecfe8370f2a84ad52516cc93320e
14 lines
607 B
YAML
14 lines
607 B
YAML
---
|
|
prelude: >
|
|
Naming convention for containers has changed in Ansible inventory
|
|
to match requirements defined by RFC1034.
|
|
From now on, all newly added containers will not have underscore (``_``)
|
|
symbol neither in their ``inventory_hostname`` nor in ``container_name``
|
|
|
|
This change does not touch or alter already existing containers in the
|
|
inventory.
|
|
|
|
In order to apply new naming convention for an existing environment you
|
|
need to delete containers on the host and from the inventory. After that
|
|
new container name will be generated and container can be created again.
|