Fix multiline yaml
This commit is contained in:
parent
15b61c1154
commit
2a4171aec8
|
@ -17,9 +17,9 @@
|
||||||
state: present
|
state: present
|
||||||
name: kube{{ item }}-matrix-test-sunet-se-port
|
name: kube{{ item }}-matrix-test-sunet-se-port
|
||||||
network: public
|
network: public
|
||||||
security_groups: |
|
security_groups: |-
|
||||||
{% set secgroupallegress=secgroups.security_groups|selectattr('name', 'equalto', 'allegress')| first -%}
|
{%- set secgroupallegress=secgroups.security_groups|selectattr('name', 'equalto', 'allegress')| first -%}
|
||||||
{% set secgroupkubenode=secgroups.security_groups|selectattr('name', 'equalto', 'kubenode')| first -%}
|
{% set secgroupkubenode=secgroups.security_groups|selectattr('name', 'equalto', 'kubenode')| first -%}
|
||||||
{% set secgroupssh=secgroups.security_groups|selectattr('name', 'equalto', 'ssh-from-jumphost')| 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 }}"
|
loop: "{{ range(1,4)|list }}"
|
||||||
|
|
Loading…
Reference in a new issue