summaryrefslogtreecommitdiffstats
path: root/opt/servers/roles/mongo/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'opt/servers/roles/mongo/tasks/main.yml')
-rw-r--r--opt/servers/roles/mongo/tasks/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/opt/servers/roles/mongo/tasks/main.yml b/opt/servers/roles/mongo/tasks/main.yml
new file mode 100644
index 00000000..81fb49b5
--- /dev/null
+++ b/opt/servers/roles/mongo/tasks/main.yml
@@ -0,0 +1,10 @@
+---
+- name: pulling mongo
+ become: true
+ docker_image: name=mongo:3.2.1 state=present
+
+- name: setting up mongo
+ become: true
+ docker_container:
+ name: mongo
+ image: mongo:3.2.1