diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-07-24 13:37:30 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-07-24 13:37:30 +0200 |
commit | 029ffa806227656bb77393a2626aab84f055b06b (patch) | |
tree | d3aa340bce98f732f90f379e17800d4e7c2d7e8b /terraform/ansible/inventory | |
parent | 77f494aade651e755ab2a9236beeb6d7d135ebd3 (diff) | |
download | k8s-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-x | terraform/ansible/inventory | 1 |
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 |