bind: fix fail in check mode
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
86a3c78a04
commit
cd8a812288
|
@ -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.
|
* 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.
|
* 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
|
* php: install using sury repositories on bullseye
|
||||||
|
* bind: fix fail in check mode
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
systemd:
|
systemd:
|
||||||
name: bind9
|
name: bind9
|
||||||
state: restarted
|
state: restarted
|
||||||
|
when: not ansible_check_mode
|
||||||
|
|
||||||
- name: restart munin-node
|
- name: restart munin-node
|
||||||
systemd:
|
systemd:
|
||||||
|
|
|
@ -42,7 +42,9 @@
|
||||||
line: 'include "/etc/bind/zones.rfc1918";'
|
line: 'include "/etc/bind/zones.rfc1918";'
|
||||||
regexp: "zones.rfc1918"
|
regexp: "zones.rfc1918"
|
||||||
notify: restart bind
|
notify: restart bind
|
||||||
when: bind_recursive_server | bool
|
when:
|
||||||
|
- bind_recursive_server | bool
|
||||||
|
- not ansible_check_mode
|
||||||
|
|
||||||
- name: Set bind configuration for authoritative server
|
- name: Set bind configuration for authoritative server
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue