Merge branch 'develop'

This commit is contained in:
Kirill Klenov 2014-12-26 18:33:02 +03:00
commit 5a70506e74
4 changed files with 17 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[bumpversion] [bumpversion]
commit = True commit = True
current_version = 2.0.0 current_version = 2.1.0
tag = True tag = True
tag_name = {new_version} tag_name = {new_version}

View File

@ -45,6 +45,12 @@ mongodb_conf_syslog: no # Log to system's syslog facil
mongodb_conf_replSet: # Enable replication <setname>[/<optionalseedhostlist>] mongodb_conf_replSet: # Enable replication <setname>[/<optionalseedhostlist>]
mongodb_conf_replIndexPrefetch: all # specify index prefetching behavior (if secondary) [none|_id_only|all] mongodb_conf_replIndexPrefetch: all # specify index prefetching behavior (if secondary) [none|_id_only|all]
mongodb_shell: [] # Define mongo shell commands to run
# Syntax: mongodb_shell:
# dbname:
# - db.setProfilingLevel(1, 50)
# MMS Agent # MMS Agent
mongodb_mms_agent_pkg: https://mms.mongodb.com/download/agent/automation/mongodb-mms-automation-agent-manager_1.4.2.783-1_amd64.deb mongodb_mms_agent_pkg: https://mms.mongodb.com/download/agent/automation/mongodb-mms-automation-agent-manager_1.4.2.783-1_amd64.deb
mongodb_mms_group_id: "" mongodb_mms_group_id: ""

View File

@ -31,6 +31,12 @@ mongodb_conf_syslog: no # Log to system's syslog facil
mongodb_conf_replSet: # Enable replication <setname>[/<optionalseedhostlist>] mongodb_conf_replSet: # Enable replication <setname>[/<optionalseedhostlist>]
mongodb_conf_replIndexPrefetch: all # specify index prefetching behavior (if secondary) [none|_id_only|all] mongodb_conf_replIndexPrefetch: all # specify index prefetching behavior (if secondary) [none|_id_only|all]
mongodb_shell: [] # Define mongo shell commands to run
# Syntax: mongodb_shell:
# dbname:
# - db.setProfilingLevel(1, 50)
# MMS Agent # MMS Agent
mongodb_mms_agent_pkg: https://mms.mongodb.com/download/agent/automation/mongodb-mms-automation-agent-manager_1.4.2.783-1_amd64.deb mongodb_mms_agent_pkg: https://mms.mongodb.com/download/agent/automation/mongodb-mms-automation-agent-manager_1.4.2.783-1_amd64.deb
mongodb_mms_group_id: "" mongodb_mms_group_id: ""

View File

@ -16,3 +16,7 @@
- name: Configure logs - name: Configure logs
file: state=file path={{ mongodb_conf_logpath }} owner={{mongodb_user}} group={{mongodb_user}} mode=0644 file: state=file path={{ mongodb_conf_logpath }} owner={{mongodb_user}} group={{mongodb_user}} mode=0644
- name: Run mongoshell commands
command: mongo {{ item.key }} --eval "{{ item.value|join('\n') }}"
with_dict: mongodb_shell