diff --git a/tasks/apache.yml b/tasks/apache.yml
index 7048356a042148b2a369e4cab379a94b15cf5ddb..c7814c12c204c7c5a37ee3ee8bf643eb925ee6f7 100644
--- a/tasks/apache.yml
+++ b/tasks/apache.yml
@@ -13,7 +13,7 @@
     dest: /etc/apache2/sites-available/status{{ apache_conf_ext|default(".conf") }}
     owner: root
     group: root
-    mode: 644
+    mode: 0644
   notify: "Restart Apache"
 
 - name: Enable Apache Status Site
@@ -26,7 +26,7 @@
     dest: /etc/netdata/python.d/web_log.conf
     owner: netdata
     group: netdata
-    mode: 660
+    mode: 0660
 
 - name: Install Custom Alerts
   template:
diff --git a/tasks/configure.yml b/tasks/configure.yml
index ee67b08c93bddd440d716fac65e729facf1e47fb..0613e74387215f3bbe45efc0a3eb5b45f4e295cb 100644
--- a/tasks/configure.yml
+++ b/tasks/configure.yml
@@ -28,7 +28,7 @@
     dest: /etc/netdata/{{ item }}
     owner: netdata
     group: netdata
-    mode: 644
+    mode: 0644
     backup: yes
   with_items:
     - health_alarm_notify.conf
@@ -42,7 +42,7 @@
     dest: /etc/netdata/python.d/{{ item }}
     owner: netdata
     group: netdata
-    mode: 644
+    mode: 0644
     backup: yes
   with_items:
     - httpcheck.conf
diff --git a/tasks/elasticsearch.yml b/tasks/elasticsearch.yml
index 29079110ed1e96ba86c0008b79e02bd16361abea..b6923b4994d8a318d5fffa61888a18d64c8d7ebe 100644
--- a/tasks/elasticsearch.yml
+++ b/tasks/elasticsearch.yml
@@ -7,4 +7,4 @@
     dest: /etc/netdata/python.d/elasticsearch.conf
     owner: netdata
     group: netdata
-    mode: 660
+    mode: 0660
diff --git a/tasks/haproxy.yml b/tasks/haproxy.yml
index a57dc89021c5c420cc89d768ce4de944367c7603..1c6470121c5aaae7f35ffc04ace004aa764a741d 100644
--- a/tasks/haproxy.yml
+++ b/tasks/haproxy.yml
@@ -13,4 +13,4 @@
     dest: /etc/netdata/python.d/haproxy.conf
     owner: netdata
     group: netdata
-    mode: 660
+    mode: 0660