File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 30
30
loop_control :
31
31
loop_var : template
32
32
when :
33
- - composer.templates | length
33
+ - composer.templates | length > 0
34
34
35
35
- name : Create additional symlinks.
36
36
ansible.builtin.file :
42
42
loop_control :
43
43
loop_var : link
44
44
when :
45
- - composer.symlinks | length
45
+ - composer.symlinks | length > 0
Original file line number Diff line number Diff line change 12
12
loop_control :
13
13
loop_var : template
14
14
when :
15
- - config_generate.templates | length
15
+ - config_generate.templates | length > 0
16
16
- deploy_operation == "deploy"
17
17
18
18
- name : Create additional symlinks.
25
25
loop_control :
26
26
loop_var : link
27
27
when :
28
- - config_generate.symlinks | length
29
- - deploy_operation == "deploy"
28
+ - config_generate.symlinks | length > 0
29
+ - deploy_operation == "deploy"
Original file line number Diff line number Diff line change 25
25
loop_control :
26
26
loop_var : template
27
27
when :
28
- - deploy_code.templates | length
28
+ - deploy_code.templates | length > 0
29
29
- deploy_operation == 'deploy'
30
30
31
31
- name : Create additional symlinks in build dir.
38
38
loop_control :
39
39
loop_var : link
40
40
when :
41
- - deploy_code.symlinks | length
41
+ - deploy_code.symlinks | length > 0
42
42
43
43
# Additional vhost handling for feature branch builds.
44
44
Original file line number Diff line number Diff line change 111
111
- name : Use provided VPC id.
112
112
ansible.builtin.set_fact :
113
113
_aws_ecs_cluster_vpc_id : " {{ deploy_container.aws_ecs.vpc_id }}"
114
- when : deploy_container.aws_ecs.vpc_name is not defined or (deploy_container.aws_ecs.vpc_name | length) == 0
114
+ when : ( deploy_container.aws_ecs.vpc_name is not defined) or (deploy_container.aws_ecs.vpc_name| length == 0)
115
115
116
116
- name : Reset subnets lists.
117
117
ansible.builtin.set_fact :
262
262
_aws_ecs_cluster_listeners : " {{ _aws_ecs_cluster_listeners + deploy_container.aws_ecs.elb_listeners }}"
263
263
when :
264
264
- deploy_container.aws_ecs.elb_listeners is defined
265
- - deploy_container.aws_ecs.elb_listeners | length
265
+ - deploy_container.aws_ecs.elb_listeners | length > 0
266
266
267
267
- name : Create an ALB.
268
268
amazon.aws.elb_application_lb :
Original file line number Diff line number Diff line change 31
31
loop_control :
32
32
loop_var : template
33
33
when :
34
- - live_symlink.templates | length
34
+ - live_symlink.templates | length > 0
35
35
- deploy_operation == 'deploy'
36
36
37
37
- name : Handle additional symlinks.
38
38
when :
39
- - live_symlink.symlinks | length
39
+ - live_symlink.symlinks | length > 0
40
40
- deploy_operation == 'deploy'
41
41
block :
42
42
- name : Ensure additional symlink sources exist.
Original file line number Diff line number Diff line change 59
59
loop_control :
60
60
loop_var : template
61
61
when :
62
- - npm.templates | length
62
+ - npm.templates | length > 0
63
63
64
64
- name : Create additional symlinks.
65
65
ansible.builtin.file :
71
71
loop_control :
72
72
loop_var : link
73
73
when :
74
- - npm.symlinks | length
74
+ - npm.symlinks | length > 0
You can’t perform that action at this time.
0 commit comments