bind: fix fail in check mode
gitea/ansible-roles/pipeline/head This commit looks good Details

This commit is contained in:
William Hirigoyen 2023-02-21 15:14:00 +01:00
parent 86a3c78a04
commit cd8a812288
3 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -13,6 +13,7 @@
systemd:
name: bind9
state: restarted
when: not ansible_check_mode
- name: restart munin-node
systemd:

View File

@ -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: