Add a postgresql dependency, if the want a local db server.

This commit is contained in:
Andrea Dell'Amico 2019-10-31 12:29:10 +01:00
parent 440a783369
commit 29e44b27a8
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ pdns_admin_opts: ''
pdns_admin_loglevel: 'WARN'
pdns_admin_logdir: '/var/log/pdnsadmin'
pdns_admin_logfile: '{{ pdns_admin_logdir }}/pdnsadmin.log'
pdns_admin_local_pgsql: False
pdns_admin_prereqs:
- git

View File

@ -1,4 +1,5 @@
---
dependencies:
- { role: '../../library/roles/nginx', when: pdns_admin_local_pgsql | bool }
- role: '../../library/roles/nginx'
- role: '../../library/roles/node_js'