From 5c0b5dadb0c9db90c39081e1173da696b1771086 Mon Sep 17 00:00:00 2001 From: "tommaso.piccioli" Date: Fri, 11 Sep 2015 16:59:34 +0200 Subject: [PATCH] Attempt to install mongodb-org 2.6.11, commented --- mongodb/defaults/main.yml | 1 + mongodb/tasks/main.yml | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/mongodb/defaults/main.yml b/mongodb/defaults/main.yml index d0709b2a..4c982507 100644 --- a/mongodb/defaults/main.yml +++ b/mongodb/defaults/main.yml @@ -4,6 +4,7 @@ mongodb_install_packages: True mongodb_install_conf: True mongodb_latest_version: True mongodb_specific_version: 2.4.3 +#mongodb-org_version: False mongodb_start_server: 'yes' mongodb_tcp_port: 27017 mongodb_http_interface: False diff --git a/mongodb/tasks/main.yml b/mongodb/tasks/main.yml index aad4f6c2..7083ecfc 100644 --- a/mongodb/tasks/main.yml +++ b/mongodb/tasks/main.yml @@ -27,7 +27,7 @@ - mongodb_latest_version tags: mongodb -- name: Install the mongodb server +- name: Install the mongodb-10gen server apt: pkg={{ item }}={{ mongodb_specific_version }} state=present with_items: - mongodb-10gen @@ -35,8 +35,24 @@ - mongodb_install_from_external_repo - mongodb_install_packages - not mongodb_latest_version +# - not mongodb-org_version tags: mongodb +#- name: Install the mongodb-org server +# apt: pkg={{ item }}={{ mongodb_specific_version }} state=present +# with_items: +# - mongodb-org +# - mongodb-org-server +# - mongodb-org-shell +# - mongodb-org-mongos +# - mongodb-org-tools +# when: +# - mongodb_install_from_external_repo +# - mongodb_install_packages +# - not mongodb_latest_version +# - mongodb-org_version +# tags: mongodb + - name: Install the mongodb server apt: pkg={{ item }} state=installed with_items: