-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[icinga_db] Don't install dbconfig-no-thanks
As discussed in #2295, dbconfig-no-thanks will disable dbconfig on a system-wide basis. This patch implements a more fine-grained approach by disabling dbconfig only for certain packages.
- Loading branch information
Showing
3 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
ansible/roles/icinga_db/templates/etc/dbconfig-common/icinga2-ido.conf.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{# Copyright (C) 2023 David Härdeman <[email protected]> | ||
# Copyright (C) 2023 DebOps <https://debops.org/> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
#} | ||
|
||
# | ||
# dbconfig interferes with the database management carried out by the DebOps | ||
# icinga_db Ansible role, so we need to disable dbconfig. | ||
# | ||
# See https://github.com/debops/debops/pull/2295 for details. | ||
# | ||
# {{ ansible_managed }} | ||
# | ||
|
||
# dbc_install: configure database with dbconfig-common? | ||
# set to anything but "true" to opt out of assistance | ||
dbc_install='false' | ||
|
||
# dbc_upgrade: upgrade database with dbconfig-common? | ||
# set to anything but "true" to opt out of assistance | ||
dbc_upgrade='false' | ||
|
||
# dbc_remove: deconfigure database with dbconfig-common? | ||
# set to anything but "true" to opt out of assistance | ||
dbc_remove='false' |