add docker-compose setup for xos and onos sub-vm's
diff --git a/roles/docker-compose-pull/tasks/main.yml b/roles/docker-compose-pull/tasks/main.yml
new file mode 100644
index 0000000..8f97d86
--- /dev/null
+++ b/roles/docker-compose-pull/tasks/main.yml
@@ -0,0 +1,14 @@
+---
+# docker-compose-pull/tasks/main.yml
+
+- name: Pull images from dockerhub with docker-compose
+ command: ansible "{{ item.name }}" -b -u ubuntu -m command \
+ -a "docker pull chdir={{ item.path }}"
+ with_items: "{{ docker_compose_pull_list }}"
+
+
+- name: 'docker-compose up' where specified
+ command: ansible "{{ item.name }}" -b -u ubuntu -m command \
+ -a "docker up -d chdir={{ item.path }}"
+ with_items: "{{ docker_compose_pull_list | selectattr('up') }}"
+