diff --git a/geonetwork/geonetwork/defaults/main.yml b/geonetwork/geonetwork/defaults/main.yml index fcd0222d..2899f22a 100644 --- a/geonetwork/geonetwork/defaults/main.yml +++ b/geonetwork/geonetwork/defaults/main.yml @@ -11,3 +11,4 @@ geonetwork_download_directory: /srv/geonetwork geonetwork_data_directory: /srv/geonetwork_data geonetwork_config_skipinfo: 'n' +geonetwork_config_postgresql: True diff --git a/geonetwork/geonetwork/templates/geonetwork_config.xml.j2 b/geonetwork/geonetwork/templates/geonetwork_config.xml.j2 index a31f5779..d654b0aa 100644 --- a/geonetwork/geonetwork/templates/geonetwork_config.xml.j2 +++ b/geonetwork/geonetwork/templates/geonetwork_config.xml.j2 @@ -140,7 +140,7 @@ - +{% if geonetwork_config_postgresql %} @@ -157,7 +157,7 @@ - +{% endif %}