Install MongoDB 3.2 This role is part of OTUS DevOps cource
None.
Add to requirements.yml
- name: vscoder.db
src: https://github.com/vscoder/ansible-role-db
version: v0.2
name | type | default value | description |
---|---|---|---|
key_url | string | https://www.mongodb.org/static/pgp/server-3.2.asc | URL of apt key file |
mongodb_version | string | 3.2 | MongoDB version |
packages | list | ["mongodb-org"] | packages to install |
mongo_port | integer | 27017 | mongod service listen tcp port number |
mongo_bind_ip | string | 127.0.0.1 | mongod service listen ip |
env | string | local | environment name |
None
- hosts: db
roles:
- { role: vscoder.db, mongo_bind_ip: 0.0.0.0 }
Target | Description |
---|---|
install_ansible_venv | install ansible into local .venv using python3 -m venv |
install_ansible_virtualenv | install ansible into local .venv using virtualenv |
molecule_static_analyse | execute molecule lint and molecule syntax |
molecule_create | create molecule instances via molecule create |
molecule_verify | apply playbook to existent instance and run tests (converge and verify ) |
molecule_test | run molecule test complex testing |
molecule_destroy | force destroy instances molecule destroy -f |
MIT
Aleksey Koloskov