Commit graph

15 commits

Author SHA1 Message Date
David Prevot 7ad55027da bind: Adapt apparmor rules as in https://wiki.debian.org/Bind9 2023-11-21 09:04:57 +01:00
Jérémy Lecour d366683acc bind: jinja syntax
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2023-02-28 10:12:38 +01:00
Jérémy Lecour 8cbe837147 bind: refactor role
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
* queries log can be enabled or disabled
* split tasks
* check if AppArmor is present
* don't install Munin plugin whose data file is not present
* remove example ACL in authoritative configuration
2023-02-21 19:01:01 +01:00
Jérémy Lecour 7a0e0d81d6 Proper jinja spacing
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-28 09:03:37 +01:00
Patrick Marchand e5511eafc6 Revert changes to bind log path from apparmor fix
All checks were successful
continuous-integration/drone/push Build is passing
I realised it wasnt the best idea to change the path we are used to using just for this, so I overwrite the apparmor configuration instead.
2021-03-09 16:58:14 -05:00
Patrick Marchand 5008b79ef5 Remove remaining hardcoded log paths from bind role
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
We had variables for the log paths, but these were not being used
by all templates.
2019-11-26 14:04:20 -05:00
Patrick Marchand 7728f5f0c5 Made sure munin and logrotate use the proper path for bind logs
Not all code paths made sure that the chroot was taken into account.
2019-11-26 14:02:28 -05:00
Patrick Marchand c6804e73e7 Adapted the bind role to respect the evocheck warnings
The required munin plugins and the logging necessary for them to work is
now activated depending on the type of resolver and the logrotate file is
changed from bind to bind9.
2019-10-09 11:54:30 -04:00
Jérémy Lecour 215d83f0b4 bind: keep 52 weeks of logs 2017-12-28 11:27:36 +01:00
Gregory Colpart 3b78613b2e Big review of role Bind, sync with https://wiki.evolix.org/HowtoBind 2017-07-22 18:40:00 +02:00
Jérémy Lecour 20c575ee1e named.conf.options is managed by ansible 2017-07-18 19:42:54 +02:00
Jérémy Lecour 639a4baf75 Bind: use the chroot variable for Munin 2017-07-17 14:45:36 +02:00
Tristan PILAT e864718c1e Add bind's munin plugin configuration option file 2017-04-13 17:26:51 +02:00
Tristan PILAT ec1e036465 New template bind configuration file 2017-04-13 17:26:50 +02:00
Jérémy Lecour 2f7116f676 bind: extract systemd service file in a template 2017-04-06 14:21:29 +02:00