From eddff3ab97b7c053f4c69ece9c8cb069336f3592 Mon Sep 17 00:00:00 2001
From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de>
Date: Tue, 11 Aug 2020 17:58:08 +0200
Subject: [PATCH] Escape bare octal values

---
 etherpad/tasks/main.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/etherpad/tasks/main.yml b/etherpad/tasks/main.yml
index b060a0b..d23bdf6 100644
--- a/etherpad/tasks/main.yml
+++ b/etherpad/tasks/main.yml
@@ -29,7 +29,7 @@
     state: directory
     owner: etherpad
     group: etherpad
-    mode: 0755
+    mode: '0755'
 
 - name: ensure we have the etherpad software
   git:
@@ -45,7 +45,7 @@
     state: directory
     owner: root
     group: etherpad
-    mode: 0750
+    mode: '0750'
 
 - name: ensure we have a mysql database for the etherpad
   mysql_db:
@@ -75,7 +75,7 @@
     dest: "/etc/etherpad/{{item.name}}-settings.json"
     owner: root
     group: etherpad
-    mode: 0640
+    mode: '0640'
   register: etherpad_config
   with_items: "{{etherpads}}"
   notify: restart etherpad
@@ -96,7 +96,7 @@
     dest: /etc/etherpad/{{item.name}}-apikey.txt
     owner: root
     group: etherpad
-    mode: 0640
+    mode: '0640'
     force: false
   with_items: "{{etherpads}}"
   no_log: true
@@ -107,7 +107,7 @@
     dest: /etc/systemd/system/etherpad@.service
     owner: root
     group: root
-    mode: 0644
+    mode: '0644'
   notify: reload systemd daemons
 
 - meta: flush_handlers
-- 
GitLab