You can (and probably will) put each host in more than one group. For example a production webserver in a datacenter in Atlanta might be included in groups called [prod] and [atlanta] and [webservers]. You can create groups that track:
* What - An application, stack or microservice. (For example, database servers, web servers, and so on).
* Where - A datacenter or region, to talk to local DNS, storage, and so on. (For example, east, west).
* When - The development stage, to avoid testing on production resources. (For example, prod, test).
* What - An application, stack or microservice (for example, database servers, web servers, and so on).
* Where - A datacenter or region, to talk to local DNS, storage, and so on (for example, east, west).
* When - The development stage, to avoid testing on production resources (for example, prod, test).
Extending the previous YAML inventory to include what, when, and where would look like:
@ -651,23 +651,23 @@ Here is an example of how to instantly deploy to created containers: