diff --git a/tasks/main.yml b/tasks/main.yml
index b6fa97801c67f55ff799b166d68eccedc738c66f..2a5de8a46c6a3effa40e0a531b4211dab75e6be8 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -121,7 +121,7 @@
     dest: "{{ keycloak_jboss_home }}/providers/{{ item.name }}"
     url: "{{ item.url }}"
     force: true
-    mode: 644
+    mode: 0644
   with_items: "{{ keycloak_custom_deployments }}"
   notify:
     - build keycloak