@@ -1649,7 +1649,7 @@ on the safe side:
- settings.py
- urls.py
notify:
- Restart website wiki.example.com
- Restart wiki
- name: Deploy project database and deploy static files
django_manage: command="{{ item }}"
@@ -1674,6 +1674,16 @@ on the safe side:
register: wiki_superuser
changed_when: wiki_superuser.stdout == "Created superuser."
:file:`~/mysite/roles/wiki/handlers/main.yml`
::
---
- name: Restart wiki
service:
name: wiki.example.com
state: restarted
5. There is a couple of files that we are deploying through the above
tasks. Let's create them as well.