This is an Ansible role for installing and configuring redis-server packages on a rapsberry pi. mongoDB will common with standard configuration. As this role is meant to be used within my my-pi-setups repository https://github.com/C3-TKO/my-pi-setups.
- Tested on Ansible 2.2.10
- Tested on Ubuntu 16.04 (xenial), but it should work on any modern Debian based system.
This role expects that the host machine has already ufw and python setup - You can use my common role from the main repository to setup ufw and python https://github.com/C3-TKO/my-pi-setups/tree/master/ansible/roles/common
You can include this role in your playbook like this:
---
- name: Installs mongoDB
hosts: mongodb
become: yes
become_method: sudo
roles:
- mongodb
MIT
Let me have it! https://github.com/C3-TKO/ansible-role-mongodb/issues