Skip to content

Commit a14c1d9

Browse files
committed
[WIP] Create login subgroups in Ansible inventory
1 parent 65e4878 commit a14c1d9

File tree

1 file changed

+6
-0
lines changed
  • environments/skeleton/{{cookiecutter.environment}}/tofu

1 file changed

+6
-0
lines changed

environments/skeleton/{{cookiecutter.environment}}/tofu/inventory.tpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ login:
3535
${cluster_name}_${group_name}:
3636
%{ endfor ~}
3737

38+
%{ for group_name in keys(login_groups) ~}
39+
${group_name}:
40+
children:
41+
${cluster_name}_${group_name}
42+
%{ endfor ~}
43+
3844
# --- compute nodes ---
3945
%{ for group_name in keys(compute_groups) ~}
4046
${cluster_name}_${group_name}:

0 commit comments

Comments
 (0)