Inventory: replace 127.0.0.1 with localhost for MySQL connections

This commit is contained in:
Julian Labus 2019-05-23 13:33:19 +02:00
parent 912cff7f5a
commit 168f26aa14
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ pdns_config:
pdns_backends:
gmysql:
host: "127.0.0.1"
host: "localhost"
user: "powerdns"
password: "{{ lookup('passwordstore', inventory_hostname_short + '/mysql_powerdns subkey=secret') }}"
dbname: "powerdns"

View file

@ -49,7 +49,7 @@ pdns_config:
pdns_backends:
gmysql:
host: "127.0.0.1"
host: "localhost"
user: "powerdns"
password: "{{ lookup('passwordstore', inventory_hostname_short + '/mysql_powerdns subkey=secret') }}"
dbname: "powerdns"