7 lines
372 B
CFEngine3
7 lines
372 B
CFEngine3
|
# {{ ansible_managed }}
|
||
|
hosts = {{mail_db_host}}
|
||
|
dbname = {{mail_db_dbname}}
|
||
|
user = {{mail_db_user}}
|
||
|
password = {{mail_db_pass}}
|
||
|
query = SELECT fqdn as description FROM host_domain d LEFT JOIN host_profil p on p.id=d.profil LEFT JOIN login l on l.id=p.login WHERE fqdn='%s' AND l.active='1' AND d.mail='1' AND d.active='1';
|