diff --git a/kubenodes.yaml b/kubenodes.yaml index 71bbed3..c0969c3 100644 --- a/kubenodes.yaml +++ b/kubenodes.yaml @@ -17,9 +17,9 @@ state: present name: kube{{ item }}-matrix-test-sunet-se-port network: public - security_groups: | - {% set secgroupallegress=secgroups.security_groups|selectattr('name', 'equalto', 'allegress')| first -%} + security_groups: |- + {%- set secgroupallegress=secgroups.security_groups|selectattr('name', 'equalto', 'allegress')| first -%} {% set secgroupkubenode=secgroups.security_groups|selectattr('name', 'equalto', 'kubenode')| first -%} {% set secgroupssh=secgroups.security_groups|selectattr('name', 'equalto', 'ssh-from-jumphost')| first -%} - {{ secgroupallegress['id'] }},{{secgroupkubenode['id']}},{{secgroupssh['id']}}" + {{ secgroupallegress['id'] }},{{secgroupkubenode['id']}},{{secgroupssh['id'] -}} loop: "{{ range(1,4)|list }}"