diff --git a/defaults/main.yml b/defaults/main.yml index 2e32f24..030cd61 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -31,6 +31,10 @@ epas_pg_backups_volume: 'epas_db_data' psql_db_data: '{{ epas_psql_pg_data }}' # Environment epas_server_hostname: 'epas.example.com' +epas_flows_enabled: False +epas_attestati_url: 'https://attestativ2.rm.cnr.it' +epas_attestati_user: '' +#epas_attestati_password: 'use a fault' ## SMTP epas_smtp_server: 'localhost' epas_smtp_port: 587 diff --git a/templates/epas-docker-compose.yml.j2 b/templates/epas-docker-compose.yml.j2 index 5ce9fed..ea1111e 100644 --- a/templates/epas-docker-compose.yml.j2 +++ b/templates/epas-docker-compose.yml.j2 @@ -70,6 +70,12 @@ services: - LDAP_BIND_DN={{ epas_ldap_bind_dn }} - LDAP_BIND_CREDENTIALS={{ epas_ldap_bind_credentials }} - LDAP_AUTHENTICATE_USER_SEARCH_DN={{ epas_ldap_authenticate_user_search_dn }} +{% endif %} +{% if epas_flows_enabled %} + - FLOWS_ACTIVE=true # defalut: false --(true,false) -- se impostato a true abilita l'utilizzo dei flussi interni a ePAS + - URL_ATTESTATI={{ epas_attestati_url }} # default: https://attestativ2.rm.cnr.it + - URL_USER={{ epas_attestati_user }} + - URL_PASS={{ epas_attestati_password }} {% endif %} #### Invio Segnalazioni via email #- REPORT_TO=${REPORT_TO} # default: epas@iit.cnr.it