adding deployment of repo docker image

Change-Id: Id2e05050044d3895f07047877295f0e8265c793c
diff --git a/roles/mavenrepo/tasks/main.yml b/roles/mavenrepo/tasks/main.yml
new file mode 100644
index 0000000..7453ca1
--- /dev/null
+++ b/roles/mavenrepo/tasks/main.yml
@@ -0,0 +1,18 @@
+- name: Install compose for mavenrepo
+  become: yes
+  template:
+    src: templates/{{ item }}.j2
+    dest: /etc/maas/{{ item }}
+    owner: maas
+    group: maas
+    mode: 0644
+  with_items:
+    - mavenrepo.yml
+  tags: [repo]
+
+- name: Ensure mavenrepo Running
+  become: yes
+  command: docker-compose -f /etc/maas/{{ item }} up -d
+  with_items:
+    - mavenrepo.yml
+  tags: [repo]