diff --git a/CHANGELOG.md b/CHANGELOG.md index 314401ba..7d8d1c6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ The **patch** part changes is incremented if multiple releases happen the same m * clamav: set `MaxConnectionQueueLength` to its default value (200), custom (15) was way too small and caused recurrent connections fail in Postfix. * postfix (packmail only): disable `concurrency_failed_cohort_limit` for destination smtp-amavis to prevent the suspension of this destination when Amavis fails to answer. Indeed, we configure the suspension delay quite long in `minimal_backoff_time` (2h) and `maximal_backoff_time` (6h) to reduce the risk of ban from external SMTPs. * php: install using sury repositories on bullseye +* bind: fix fail in check mode ### Removed diff --git a/bind/handlers/main.yml b/bind/handlers/main.yml index b426fcd1..49854b91 100644 --- a/bind/handlers/main.yml +++ b/bind/handlers/main.yml @@ -13,6 +13,7 @@ systemd: name: bind9 state: restarted + when: not ansible_check_mode - name: restart munin-node systemd: diff --git a/bind/tasks/main.yml b/bind/tasks/main.yml index d1348cd2..ac278651 100644 --- a/bind/tasks/main.yml +++ b/bind/tasks/main.yml @@ -42,7 +42,9 @@ line: 'include "/etc/bind/zones.rfc1918";' regexp: "zones.rfc1918" notify: restart bind - when: bind_recursive_server | bool + when: + - bind_recursive_server | bool + - not ansible_check_mode - name: Set bind configuration for authoritative server template: