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

6 lines
117 B
YAML

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