This repository was archived by the owner on Oct 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 loop_control :
3131 loop_var : template
3232 when :
33- - composer.templates | length
33+ - composer.templates | length > 0
3434
3535 - name : Create additional symlinks.
3636 ansible.builtin.file :
4242 loop_control :
4343 loop_var : link
4444 when :
45- - composer.symlinks | length
45+ - composer.symlinks | length > 0
Original file line number Diff line number Diff line change 1212 loop_control :
1313 loop_var : template
1414 when :
15- - config_generate.templates | length
15+ - config_generate.templates | length > 0
1616 - deploy_operation == "deploy"
1717
1818- name : Create additional symlinks.
2525 loop_control :
2626 loop_var : link
2727 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 2525 loop_control :
2626 loop_var : template
2727 when :
28- - deploy_code.templates | length
28+ - deploy_code.templates | length > 0
2929 - deploy_operation == 'deploy'
3030
3131- name : Create additional symlinks in build dir.
3838 loop_control :
3939 loop_var : link
4040 when :
41- - deploy_code.symlinks | length
41+ - deploy_code.symlinks | length > 0
4242
4343# Additional vhost handling for feature branch builds.
4444
Original file line number Diff line number Diff line change 111111 - name : Use provided VPC id.
112112 ansible.builtin.set_fact :
113113 _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)
115115
116116 - name : Reset subnets lists.
117117 ansible.builtin.set_fact :
262262 _aws_ecs_cluster_listeners : " {{ _aws_ecs_cluster_listeners + deploy_container.aws_ecs.elb_listeners }}"
263263 when :
264264 - 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
266266
267267 - name : Create an ALB.
268268 amazon.aws.elb_application_lb :
Original file line number Diff line number Diff line change 3131 loop_control :
3232 loop_var : template
3333 when :
34- - live_symlink.templates | length
34+ - live_symlink.templates | length > 0
3535 - deploy_operation == 'deploy'
3636
3737- name : Handle additional symlinks.
3838 when :
39- - live_symlink.symlinks | length
39+ - live_symlink.symlinks | length > 0
4040 - deploy_operation == 'deploy'
4141 block :
4242 - name : Ensure additional symlink sources exist.
Original file line number Diff line number Diff line change 5959 loop_control :
6060 loop_var : template
6161 when :
62- - npm.templates | length
62+ - npm.templates | length > 0
6363
6464 - name : Create additional symlinks.
6565 ansible.builtin.file :
7171 loop_control :
7272 loop_var : link
7373 when :
74- - npm.symlinks | length
74+ - npm.symlinks | length > 0
You can’t perform that action at this time.
0 commit comments