diff --git a/uwsgi-python/handlers/main.yml b/uwsgi-python/handlers/main.yml
index a39e82f2f3481f732740f3ceb65385e8ccbc64b3..8bfcc870cb2c6ebb4a118ebfcaace3550c516400 100644
--- a/uwsgi-python/handlers/main.yml
+++ b/uwsgi-python/handlers/main.yml
@@ -21,3 +21,6 @@
 
 - name: restart uwsgi instance sso
   service: name="uwsgi@sso" state=restarted
+
+- name: restart uwsgi instance migration-webapp
+  service: name="uwsgi@migration-webapp" state=restarted
diff --git a/uwsgi-python/tasks/app.yml b/uwsgi-python/tasks/app.yml
index 868fe1b3a1102f02373ee5348d3fac7c37e886b2..3b11aed45ecbf520cfee35278599ea9e659d88b0 100644
--- a/uwsgi-python/tasks/app.yml
+++ b/uwsgi-python/tasks/app.yml
@@ -174,6 +174,9 @@
     mode: 0640
   notify:
     - "restart uwsgi instance {{ app.instance }}"
+  when:
+    - app_config_file is defined
+    - app_config_file != ''
   tags:
     - uwsgi-app
     - "{{ app.app }}"
diff --git a/uwsgi-python/vars/samba-migration.yml b/uwsgi-python/vars/samba-migration.yml
new file mode 100644
index 0000000000000000000000000000000000000000..9adde374cb0d64eee62f991f3ff426ccbf0fa94e
--- /dev/null
+++ b/uwsgi-python/vars/samba-migration.yml
@@ -0,0 +1,24 @@
+app_name: migration-webapp
+app_user: migration-webapp
+app_group: migration-webapp
+app_home: /var/www/samba-migration-webapp
+app_path: /var/www/samba-migration-webapp/program
+app_python_version: 3
+app_venv: /var/www/samba-migration-webapp/program
+app_program: server.py
+app_callable: app
+app_command: "runserver"
+app_mountpoint: /
+
+app_db_name: ''
+app_db_type: ''
+
+app_additional_software: []
+
+app_deploy_key: "{{ inventory_dir }}/files/deploy-keys/samba-migration"
+app_git_url: "git@git.fsmpi.rwth-aachen.de:infra/samba-migration-webapp.git"
+app_git_version: HEAD
+
+app_config_file: ''
+app_secret_config: false
+