ansible-roles/mongodb-org-3.2/handlers/main.yml

6 lines
117 B
YAML

---
- name: Restart mongodb
service: name=mongod state=restarted
when: "'{{ mongodb_start_server }}' == 'yes'"