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

8 lines
140 B
YAML

---
- name: Update apt cache
apt: update_cache=yes
ignore_errors: true
- name: Restart mongodb
service: name=mongodb state=restarted