You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
ansible-role-nginx/mongodb/roles/common/tasks/main.yml

14 lines
439 B

---
# This Playbook runs all the common plays in the deployment
- name: Create the hosts file for all machines
template: src=../roles/common/templates/hosts.j2 dest=/etc/hosts
- name: Creates the repository for 10Gen
template: src=../roles/common/templates/10gen.repo.j2 dest=/etc/yum.repos.d/10gen.repo
- name: Install the mongodb package
yum: name=$item state=installed
with_items:
- mongo-10gen
- mongo-10gen-server