From 5ddcbbec5c6a78cb096ee81b7d12cc83aeaf7102 Mon Sep 17 00:00:00 2001 From: Daniel Akulenok Date: Tue, 30 Aug 2022 08:02:31 +0000 Subject: [PATCH] Add variables documentation --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 5bca6d6..eaec30e 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,18 @@ Or, as I call them "happy accidents". Role Variables -------------- +General configuration +===================== +Review the [defaults](defaults/main.yml) for a full set of configurable parameters. Here are the most interesting ones: + +`bind9_backup_config: [true, false]`: Backup each named.conf.* file or not. Default is 'true'. This setting is useful for testing out configuration changes but can clutter up the destination directory quite a bit if used across many updates. + +`bind9_debug_config: [true, false]`: Print the resulting YAML configuration tree that was sent to the configuration template. Default is 'false'. Useful for comparing with the resulting named.conf files and comparing values. + +`bind9_config_indent: [integer]`: Indentation level for the configuration template. Default is '4'. Set this value to suit your style. Tabs are not supported. + +named.conf +========== bind configuration is set through the various bind9_*_config parameters. These are, in order of precedence: 1. bind9_default_config 2. bind9_group_config