Commit 02f6cb1e by Jason Zhu

Update main.yml

To use local mongodb repo
parent 3a81b030
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
- name: add the mongodb signing key - name: add the mongodb signing key
apt_key: > apt_key: >
id=7F0CEB10 id=7F0CEB10
url=http://docs.mongodb.org/10gen-gpg-key.asc url={{mongodb_apt_key}}
state=present state=present
- name: add the mongodb repo to the sources list - name: add the mongodb repo to the sources list
apt_repository: > apt_repository: >
repo='deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' repo='{{ mongodb_repo }}'
state=present state=present
- name: install mongo server and recommends - name: install mongo server and recommends
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment