1
0
mirror of https://github.com/bigchaindb/bigchaindb.git synced 2024-06-28 16:47:46 +02:00
bigchaindb/pkg/ansible/roles/mongodb/tasks/centos.yml
muawiakh f2e1b4ac80 Automation for single node deployment for quickstart
- Change consists of two deployment models:
  - Using Vagrant(single node, with/without docker)
  - Using Ansible(single node, with/without docker)
- Updated quickstart documentation.
- Some WIP comments, which will be addressed later. Depending on the
  requirements.
2017-09-14 14:00:13 +02:00

18 lines
464 B
YAML

---
- name: Add MongoDB Repo | CentOS
yum_repository:
name: "{{ mongodb_package }}"
gpgcheck: yes
gpgkey: https://www.mongodb.org/static/pgp/server-{{ mongodb_version }}.asc
baseurl: "{{ mongodb_yum_base_url }}"
file: "{{ mongodb_package }}"
description: "MongoDB Repo"
enabled: yes
tags: [mongodb]
- name: Install MongoDB | CentOS
yum:
name: "{{ mongodb_package }}"
state: present
update_cache: yes
tags: [mongodb]