xoxys.mongodb/tasks/config.yml
Robert Kaussow a3880a4698
Some checks failed
continuous-integration/drone/push Build is failing
fix ansible guideine errors
2019-01-12 14:40:16 +01:00

17 lines
344 B
YAML

---
- block:
- name: Deploy configuration file
template:
src: etc/mongod.conf.j2
dest: /etc/mongod.conf
mode: 0644
notify: __mongod_restart
- name: Make sure mongodb is up and running
service:
name: mongod
state: started
enabled: yes
become: True
become_user: root