From 656e440054f43fc09050ba13e29d4eaaf355fcf5 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sun, 16 Oct 2022 18:30:31 -0400 Subject: Add ansible_managed token to templates --- roles/pad/templates/settings.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'roles/pad/templates/settings.json') diff --git a/roles/pad/templates/settings.json b/roles/pad/templates/settings.json index 08b46dc..f81d232 100644 --- a/roles/pad/templates/settings.json +++ b/roles/pad/templates/settings.json @@ -1,4 +1,6 @@ /* + * {{ ansible_managed }} + * * This file must be valid JSON. But comments are allowed * * Please edit settings.json, not settings.json.template @@ -281,7 +283,7 @@ * Pad creation is only via the API. * This applies both to group pads and regular pads. */ - "editOnly": true, + "editOnly": {{ not etherpad_load_test }}, /* * If true, all css & js will be minified before sending to the client. @@ -528,7 +530,7 @@ * * WARNING: this will disable security on the instance. */ - "loadTest": false, + "loadTest": {{ etherpad_load_test }}, /** * Disable dump of objects preventing a clean exit -- cgit v1.2.3