diff --git a/mongodb/defaults/main.yml b/mongodb/defaults/main.yml index d0709b2..4c98250 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 aad4f6c..7083ecf 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: