Fix multiline yaml
This commit is contained in:
parent
15b61c1154
commit
2a4171aec8
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in a new issue