diff --git a/tsm7-client/tasks/main.yml b/tsm7-client/tasks/main.yml
index c112b2248125237894335a15f92d85f6d25d844c..f65d9de0c252b0e2c5993863acdec7a9ae3a37e1 100644
--- a/tsm7-client/tasks/main.yml
+++ b/tsm7-client/tasks/main.yml
@@ -8,10 +8,14 @@
     - repos
 
 - name: ensure the fsmpi-repo is activated
-  apt_repository: repo='deb [arch=amd64] http://www-intern.fsmpi.rwth-aachen.de/debian tivoli7 main' state=present
+  apt_repository: repo='deb [arch=amd64] https://www-intern.fsmpi.rwth-aachen.de/debian tivoli7 main' state=present
   tags:
     - repos
 
+- name: ensure the http fsmpi-repo is deactivated
+  apt_repository: repo='deb [arch=amd64] http://www-intern.fsmpi.rwth-aachen.de/debian tivoli7 main' state=absent
+  tags:
+    - repos
 
 - name: ensure systemd service file is available
   copy: src=dsmc.service dest=/etc/systemd/system/dsmc.service