Skip to content

Commit

Permalink
FIXED: mysql schema path for debian 10 as support for dbconfig was dr…
Browse files Browse the repository at this point in the history
…opped in pdns = 4.1.3-4 on 31 Jul 2018 (PowerDNS#73)

Co-authored-by: Klaus Zerwes <rlsit@users.noreply.github.com>
  • Loading branch information
rlsit and rlsit authored Mar 6, 2020
1 parent dca2c23 commit ca61573
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tasks/database-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@
- name: Define the PowerDNS database MySQL schema file path on Debian
set_fact:
_pdns_mysql_schema_file: "/usr/share/dbconfig-common/data/pdns-backend-mysql/install/mysql"
when: pdns_install_repo | length == 0
when: pdns_install_repo | length == 0 and ansible_distribution_major_version | int < 10

- name: Define the PowerDNS database MySQL schema file path on Debian
set_fact:
_pdns_mysql_schema_file: "/usr/share/pdns-backend-mysql/schema/schema.mysql.sql"
when: pdns_install_repo | length == 0 and ansible_distribution_major_version | int >= 10

- name: Define the PowerDNS database MySQL schema file path on Debian
set_fact:
Expand Down

0 comments on commit ca61573

Please sign in to comment.