---
# Playbook that configures a runnning instance of MongoDB
# Heavily influenced by: https://github.com/UnderGreen/ansible-role-mongodb
# Using a subset of @UnderGreen's work

- name: Configure mongodb
  template: 
    src: mongod.conf.j2
    dest: /etc/mongod.conf
    backup: yes
    owner: root
    group: root
    mode: 0644
  notify :
    - mongodb restart

---
# Playbook that configures a runnning instance of MongoDB
# Heavily influenced by: https://github.com/UnderGreen/ansible-role-mongodb
# Using a subset of @UnderGreen's work

- name: Configure mongodb
  template: 
    src: mongod.conf.j2
    dest: /etc/mongodb.conf
    backup: yes
    owner: root
    group: root
    mode: 0644
  notify :
    - mongodb restart

Fix incorrect path for mongodb.conf
Fix incorrect path for mongodb.conf
