aboutsummaryrefslogtreecommitdiff
path: root/terraform/ansible/inventory
diff options
context:
space:
mode:
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