Attempt to install mongodb-org 2.6.11, commented

This commit is contained in:
Tommaso Piccioli 2015-09-11 16:59:34 +02:00
parent b324659949
commit 5c0b5dadb0
2 changed files with 18 additions and 1 deletions

View File

@ -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

View File

@ -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: