Commit d6ee886a authored by Alexandre Chapellon's avatar Alexandre Chapellon

move configuration variables to the inventory file

parent 3846a4cc
......@@ -5,9 +5,5 @@ hc_tmp: /tmp/hc
# Set the log history to archive and fetch (default 1 week)
log_history: "-1w"
# define the applications context as defined in tomcat.
# Do not take into account reverse proxies
alfresco_context: 'alfresco'
share_context: 'share'
solr_context: 'solr4'
# Use authentication wrapper to handle `sudo su` only configs
ansible_become_exe: "{{ hc_tmp }}/bin/sudosu-wrapper.sh"
# Set custom application log pattern (use wildcard as neeeded)
#solr_log_pattern: /var/log/alfresco/solr.log*
# Set solr home directory if autodetection fails (e.g if python-lxml is not available)
#solr_home: /usr/local/solr
# Configure Solr client certificates
#solr_client_cert: solrclient_crt
#solr_client_key: solr_client_key
# Manually define alfresco related variables if autodetect fails.
# All variables defined bellow can be defined per server using ansible
# host_vars or through subset of groups (like share_tiers or repo_tiers)
# uncomment if your tomcat instance has a shared loader location wich doesn't
# match ${CATALINA_BASE}/shared/classes
#alfresco_shared_loader: /opt/alfresco/extension-root
# Set custom application log pattern (use wildcadrs as needed)
#alfresco_log_pattern: /var/log/alfresco/alfresco.log*
# Manually define alfresco related variables if autodetect fails.
# All variables defined bellow can be defined per server using ansible
# host_vars or through subset of groups (like share_tiers or repo_tiers)
# uncomment if your tomcat instance has a shared loader location wich doesn't
# match ${CATALINA_BASE}/shared/classes
#share_shared_loader: /opt/share/extension-root
# Set custom application log pattern (use wildcard as needed)
# share_log_pattern: /var/log/alfresco/share.log*
# Manually define tomcat related variables if autodetect fails.
# All variables defined bellow can be defined per server using ansible
# host_vars or through subset of groups (like share_tiers or repo_tiers)
# Uncomment to override detected port numbers and scheme
#webapp_server_port: 8081
#webapp_server_scheme: http
# uncomment if your tomcat instance has a shared loader location wich doesn't
# match ${CATALINA_BASE}/shared/classes
#webapp_server_shared_loader: /opt/alfresco/extension-root
......@@ -4,12 +4,35 @@ localhost
[share_tiers]
localhost
# Leave empty if using solr6 (unsupported for now)
[index_tiers]
localhost
[tomcat_servers:children]
repo_tiers
share_tiers
#Comment out if using Solr6 Alfresco Search Service or Insight Engine
index_tiers
[all:vars]
solr_context=1J49/solr4
alfresco_context=1J49/alfresco
share_context=1J49/share
[repo_tiers:vars]
#alfresco_log_pattern=/var/log/alfresco/alfresco.log*
#alfresco_shared_loader: /opt/alfresco/extension-root
[share_tiers:vars]
#share_log_pattern=/var/log/alfresco/share.log*
#share_shared_loader: /opt/share/extension-root
[index_tiers:vars]
#solr_home=/opt/solr/
#solr_log_pattern=/var/log/alfresco/solr.log*
#solr_client_cert=solrclient_crt
#solr_client_key=solr_client_key
[tomcat_servers:vars]
#webapp_server_port=8181
#webapp_server_scheme=http
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment