aboutsummaryrefslogtreecommitdiffstats
path: root/opt/infra/roles/mongo/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'opt/infra/roles/mongo/tasks')
-rw-r--r--opt/infra/roles/mongo/tasks/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/opt/infra/roles/mongo/tasks/main.yml b/opt/infra/roles/mongo/tasks/main.yml
new file mode 100644
index 00000000..81fb49b5
--- /dev/null
+++ b/opt/infra/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