diff --git a/tasks/main.yml b/tasks/main.yml
index bfc49231e3d9df930be3ac7fe6512ff857ddb7c0..533661b5e2d47585d0b5ccc348fdf2132fe0f01b 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -44,7 +44,7 @@
       dest: '/var/www/uptime/config/production.yaml'
       owner: root
       group: root
-      mode: 644
+      mode: '644'
     notify:
       - "Restart Uptime"