generator > list conversion
diff --git a/roles/docker-compose-pull/tasks/main.yml b/roles/docker-compose-pull/tasks/main.yml
index 921e42d..7ddeaac 100644
--- a/roles/docker-compose-pull/tasks/main.yml
+++ b/roles/docker-compose-pull/tasks/main.yml
@@ -10,5 +10,5 @@
- name: Run "docker-compose up" where specified
command: ansible "{{ item.name }}" -b -u ubuntu -m command \
-a "docker-compose up -d chdir={{ item.path | expanduser }}"
- with_items: "{{ docker_compose_pull_list | selectattr('up') }}"
+ with_items: "{{ docker_compose_pull_list | selectattr('up') | list}}"