aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-02-13 18:35:21 +0100
committerGuido Günther <agx@sigxcpu.org>2016-02-13 18:35:21 +0100
commit3c5933c961ee8c0777fb48afcee4d45a8a53e56c (patch)
treedc42f0fe276ddda3238c03f862264b92052c33ad
parent7f0a637052bba67dad630886fd0f2f4446d07f4c (diff)
Update docs
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 4714d8c..8abb696 100644
--- a/README.md
+++ b/README.md
@@ -48,17 +48,17 @@ Which yields
}
-## Hostgroups
+## Automatic ansible groups
-The hostgroup of each host is created as ansible group with
-a foreman prefix, all lowercase and problematic parameters removed. So
-e.g. the foreman hostgroup
+The hostgroup, location and organization of each host is created as
+ansible group with a foreman_<grouptype> prefix, all lowercase and
+problematic parameters removed. So e.g. the foreman hostgroup
myapp / webtier / datacenter1
would turn into the ansible group:
- foreman_myapp_webtier_datacenter1
+ foreman_hostgroup_myapp_webtier_datacenter1
Furthermore groups can be created on the fly using the
*group_patterns* variable in *foreman.ini* so that you can build up