diff options
author | Lénaïc Huard <lhuard@amadeus.com> | 2015-06-08 09:32:59 +0200 |
---|---|---|
committer | Lénaïc Huard <lhuard@amadeus.com> | 2015-06-08 09:32:59 +0200 |
commit | 3b660e9b3f3859d69371f12e18922274db7ad026 (patch) | |
tree | 53cc77cc35a071ad49f4c9611946e1fd70e6ce15 /playbooks/aws/openshift-cluster | |
parent | af8b0b25f5e572ab20e3c3efdba596bae7ae7563 (diff) | |
download | openshift-3b660e9b3f3859d69371f12e18922274db7ad026.tar.gz openshift-3b660e9b3f3859d69371f12e18922274db7ad026.tar.bz2 openshift-3b660e9b3f3859d69371f12e18922274db7ad026.tar.xz openshift-3b660e9b3f3859d69371f12e18922274db7ad026.zip |
Replace the custom oo_len filter by the Jinja2 standard one: length
Diffstat (limited to 'playbooks/aws/openshift-cluster')
-rw-r--r-- | playbooks/aws/openshift-cluster/tasks/launch_instances.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/aws/openshift-cluster/tasks/launch_instances.yml b/playbooks/aws/openshift-cluster/tasks/launch_instances.yml index 666a8d1fb..4f594e2ed 100644 --- a/playbooks/aws/openshift-cluster/tasks/launch_instances.yml +++ b/playbooks/aws/openshift-cluster/tasks/launch_instances.yml @@ -79,7 +79,7 @@ group: "{{ ec2_security_groups }}" instance_type: "{{ ec2_instance_type }}" image: "{{ latest_ami }}" - count: "{{ instances | oo_len }}" + count: "{{ instances | length }}" vpc_subnet_id: "{{ ec2_vpc_subnet | default(omit, true) }}" assign_public_ip: "{{ ec2_assign_public_ip | default(omit, true) }}" user_data: "{{ user_data }}" |