aboutsummaryrefslogtreecommitdiff
path: root/terraform/ansible/inventory
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-07-24 13:37:30 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-07-24 13:37:30 +0200
commit029ffa806227656bb77393a2626aab84f055b06b (patch)
treed3aa340bce98f732f90f379e17800d4e7c2d7e8b /terraform/ansible/inventory
parent77f494aade651e755ab2a9236beeb6d7d135ebd3 (diff)
downloadk8s-sandbox-029ffa806227656bb77393a2626aab84f055b06b.tar.gz
k8s-sandbox-029ffa806227656bb77393a2626aab84f055b06b.tar.bz2
k8s-sandbox-029ffa806227656bb77393a2626aab84f055b06b.tar.xz
k8s-sandbox-029ffa806227656bb77393a2626aab84f055b06b.zip
wip
Diffstat (limited to 'terraform/ansible/inventory')
-rwxr-xr-xterraform/ansible/inventory1
1 files changed, 1 insertions, 0 deletions
diff --git a/terraform/ansible/inventory b/terraform/ansible/inventory
index 24bbc2e..880397a 100755
--- a/terraform/ansible/inventory
+++ b/terraform/ansible/inventory
@@ -16,6 +16,7 @@ $input.k8s_node_names|to_entries|map({(.value):{
{_meta:{
hostvars:([{"k8s-master": $master}]+$nodes|add)},
all:(["k8s-master"] + ($input.k8s_node_names)),
+ k8s:(["k8s-master"] + ($input.k8s_node_names)),
"k8s-nodes":$input.k8s_node_names,
}
EOF