ansible-role-ckan/tasks/enable-ckan.yml

12 lines
243 B
YAML

---
- name: Restart apache
service: name=apache2 state=restarted enabled=yes
when: ckan_install is changed
tags: ckan
- name: Restart nginx
service: name=nginx state=restarted enabled=yes
when: ckan_install is changed
tags: ckan