diff --git a/roles/akeneo_pim/defaults/main.yml b/roles/akeneo_pim/defaults/main.yml index 70c5e48..d88f199 100644 --- a/roles/akeneo_pim/defaults/main.yml +++ b/roles/akeneo_pim/defaults/main.yml @@ -34,3 +34,4 @@ pim_public_url: http://pim.{{ inventory_hostname }}/ # Define the initial admin password. If not defined, a random one will be generated ans stored under {{ pim_root_dir }}/meta/ansible_admin_pass # Note that this is only used on initial install, and will be ignored for upgrades # pim_admin_pass: p@ssw0rd +pim_mail_url: "null://localhost&sender_address=no-reply@{{ ansible_domain }}" diff --git a/roles/akeneo_pim/templates/env.j2 b/roles/akeneo_pim/templates/env.j2 index c0142bd..5040c9b 100644 --- a/roles/akeneo_pim/templates/env.j2 +++ b/roles/akeneo_pim/templates/env.j2 @@ -10,7 +10,7 @@ APP_SECRET={{ pim_secret | quote }} APP_INDEX_HOSTS={{ pim_es_server }} APP_PRODUCT_AND_PRODUCT_MODEL_INDEX_NAME=akeneo_pim_product_and_product_model APP_CONNECTION_ERROR_INDEX_NAME=akeneo_connectivity_connection_error -MAILER_URL=null://localhost&sender_address=no-reply@{{ ansible_domain }} +MAILER_URL={{ pim_mailer_url }} AKENEO_PIM_URL={{ pim_public_url }} LOGGING_LEVEL=NOTICE APP_EVENTS_API_DEBUG_INDEX_NAME=akeneo_connectivity_connection_events_api_debug