ansible-role-redmine/defaults/main.yml

203 lines
8.9 KiB
YAML

---
redmine_major_version: 4
redmine_minor_version: 2
redmine_patch_version: 10
redmine_load_balanced: False
redmine_load_balanced_main_instance: True
redmine_version: '{{ redmine_major_version }}.{{ redmine_minor_version }}.{{ redmine_patch_version }}'
redmine_inst_name: redmine
redmine_main_project: redmine
redmine_db_user: redm_db_user
redmine_db_name: redm_db_name
redmine_db_host: localhost
redmine_install_from_subversion: True
redmine_subversion_tree: 'branches'
redmine_subversion_url: 'https://svn.redmine.org/redmine/{{ redmine_subversion_tree }}'
redmine_download_url: 'http://www.redmine.org/releases'
# The commented variables must be set in the playbook
#redmine_glob_root_dir: /srv/redmine
# It is a redmine_glob_root_dir subdirectory
redmine_inst_dir: redmine
redmine_create_application_user: True
redmine_user: redmine
redmine_group: '{{ redmine_user }}'
redmine_memcached: True
redmine_memcache_hosts:
- 'localhost:11211'
#
redmine_external_ruby_ppa_enabled: false
redmine_external_ppa_repo: 'ppa:brightbox/ruby-ng'
ruby_ppa_version: 2.6
redmine_sysvinit_service_name: '{{ redmine_inst_name }}'
redmine_systemd_service_name: 'unicorn@{{ redmine_inst_name }}.service'
redmine_service_name: '{{ redmine_systemd_service_name }}'
redmine_web_root: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/public'
redmine_nginx_behind_haproxy_settings: False
redmine_nginx_frontend: True
redmine_nginx_static_data_valid_time: '30d'
nginx_virthosts: '{{ redmine_nginx_virthosts }}'
redmine_nginx_cors_enabled: False
redmine_nginx_cors_global: '{{ redmine_nginx_cors_enabled }}'
redmine_nginx_serveraliases: []
redmine_nginx_virtualhost_name: '{{ ansible_fqdn }}'
redmine_inside_iframe: False
redmine_log_level: warn
# Minutes, from 1 to 60
redmine_ldap_sync_freq: 10
# users, groups, all
redmine_ldap_sync_who: all
redmine_ldap_sync_cron_job: '/usr/local/bin/rake -f {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Rakefile --silent redmine:plugins:ldap_sync:sync_{{ redmine_ldap_sync_who }} RAILS_ENV=production >{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/log/redmine-ldap-sync.log 2>&1'
redmine_glob_user: redmine
redmine_glob_group: redmine
redmine_glob_users_home_base: /srv/redmine-home
# Define it and point to an external directory to have it used
# redmine_storage_path_prefix: '/{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/files'
# redmine_storage_path: '/{{ redmine_storage_path_prefix }}/files'
redmine_imap_sync: False
redmine_imap_server: localhost
redmine_imap_user: ''
#redmine_imap_password: 'Use a vault file'
redmine_imap_unknown_user_action: ignore
redmine_imap_starttls: true
redmine_imap_sync_move_on_failure: True
redmine_imap_sync_failure_folder: 'Trash'
redmine_imap_sync_additional_options: ''
# Plugins
rm_ldap_auth: False
rm_ldap_sync: False
rm_ldap_synch: '{{ rm_ldap_sync }}'
rm_ldap_sync_url: 'https://github.com/adellam/redmine_ldap_sync.git'
rm_better_gantt_plugin: False
rm_better_gantt_url: 'https://github.com/tuanpembual/redmine_better_gantt_chart.git'
rm_login_audit_plugin: False
#rm_login_audit_url: 'https://github.com/martin-denizet/redmine_login_audit.git'
rm_login_audit_url: 'https://github.com/adellam/redmine_login_audit'
rm_progressive_projects_plugin: False
rm_progressive_projects_url: 'https://github.com/stgeneral/redmine-progressive-projects-list.git'
rm_didyoumean_plugin: False
rm_didyoumean_plugin_url: 'https://github.com/abahgat/redmine_didyoumean.git'
rm_graphs_plugin: False
rm_graphs_url: 'https://github.com/bradbeattie/redmine-graphs-plugin.git'
rm_embedded_tabs_plugin: False
rm_embedded_tabs_url: 'https://github.com/jamtur01/redmine_tab.git'
rm_recurring_tasks_plugin: False
rm_recurring_tasks_url: 'https://github.com/nutso/redmine-plugin-recurring-tasks.git'
redmine_install_agile_plugin: False
rm_advanced_roadmap_plugin: False
rm_advanced_roadmap_url: 'https://github.com/Coren/redmine_advanced_roadmap_v2.git'
rm_scrum2b_plugin: False
rm_scrum2b_url: 'https://github.com/scrum2b/scrum2b.git'
rm_issuereminder_plugin: False
rm_issuereminder_url: 'https://github.com/jcppkkk/redmine_mail_reminder'
rm_issue_reminder_plugin_freq_min: 0
rm_issue_reminder_plugin_freq_hour: 5
rm_issue_reminder_plugin_freq_weekday: 1
# https://github.com/arkhitech/redmine_update_reminder
# We configure to send the email reminders once a week on monday morning by default
rm_updatereminder_plugin: False
rm_updatereminder_url: 'https://github.com/arkhitech/redmine_update_reminder'
rm_updatereminder_plugin_freq_min: 0
rm_updatereminder_plugin_freq_hour: 5
rm_updatereminder_plugin_freq_weekday: 1
rm_mentions_url: 'https://github.com/adellam/redmine_mentions'
rm_mentions_plugin: False
rm_defaultcustomquery_plugin: False
rm_defaultcustomquery_url: 'https://github.com/hidakatsuya/redmine_default_custom_query'
rm_closesresolvedissue_plugin: False
rm_closesresolvedissue_url: 'https://github.com/Jogi1j/redmine_closes_resolved_issues'
rm_defaultassign_url: 'https://github.com/giddie/redmine_default_assign'
rm_defaultassign_plugin: False
rm_auto_watcher_from_groups_url: 'https://github.com/akuznecov/redmine_auto_watchers_from_groups'
rm_auto_watchers_from_groups: False
rm_onceassignedeverwatcher_url: 'https://github.com/raafael911/redmine_once_assigned_ever_watcher'
rm_onceassignedeverwatcher_plugin: False
rm_clipboardimagepaste_url: 'https://github.com/peclik/clipboard_image_paste'
rm_clipboardimagepaste_plugin: False
rm_hotkeysjs_url: 'https://github.com/sasha-ch/redmine_hotkeys_js'
rm_hotkeysjs_plugin: False
rm_issuessorting_url: 'https://github.com/JohnBat26/redmine_issues_sorting'
rm_issuessorting_plugin: False
rm_mylyn_url: 'https://github.com/ljader/redmine-mylyn-plugin'
rm_mylyn_plugin: False
rm_quickedit_url: 'git://git.sourceforge.jp/gitroot/quickedit/quick_edit.git'
rm_quickedit_plugin: False
rm_quickview_url: 'git://git.sourceforge.jp/gitroot/quickedit/quick_view.git'
rm_quickview_plugin: False
rm_globalroles_plugin: False
rm_unreadissues_plugin: False
rm_usability_plugin: False
rm_mylynconnector_url: 'git://github.com/danmunn/redmine_mylyn_connector.git'
rm_mylynconnector_plugin: False
rm_addsubversionlinks_plugin: False
#rm_addsubversionlinks_url: 'https://github.com/masamitsu-murase/redmine_add_subversion_links.git'
rm_addsubversionlinks_url: 'https://github.com/adellam/redmine_add_subversion_links.git'
rm_wiki_external_url: 'https://github.com/nutso/redmine-plugin-wiki-external.git'
rm_wiki_external_plugin: False
#rm_wiki_backlinks_url: 'https://github.com/bluezio/redmine_wiki_backlinks'
rm_wiki_backlinks_url: 'https://github.com/adellam/redmine_wiki_backlinks'
rm_wiki_backlinks_plugin: False
rm_pastebin_url: 'https://github.com/commandprompt/redmine_pastebin.git'
rm_pastebin_plugin: False
rm_issue_templates_url: 'https://github.com/adellam/redmine_issue_templates'
rm_issue_templates_plugin: False
# TODO lists plugin: https://redmine.org/plugins/redmine_issue_todo_lists
rm_issue_todo_lists_url: 'https://github.com/canidas/redmine_issue_todo_lists'
rm_issue_todo_lists_plugin: False
#
# IMPORTANT: these are mutually exclusive. One of the two needs to be set to True
ruby_use_mod_passenger: False
ruby_use_unicorn: True
# Redmine 2.x only
rm_involvement_url: 'https://github.com/adellam/redmine_involvement_filter.git'
rm_involvement_plugin: False
rm_omniauth_url: 'https://github.com/arlin2050/redmine_omniauth_client.git'
rm_omniauth_plugin: False
rm_openid_connect_plugin_url: https://github.com/devopskube/redmine_openid_connect.git
rm_openid_connect_plugin: False
rm_dashboard_plugin_url: https://github.com/akpaevj/dashboard.git
rm_dashboard_plugin: False
rm_additionals_plugin: false
rm_additionals_plugin_url: "https://github.com/AlphaNodes/additionals.git"
rm_additionals_plugin_branch: stable
rm_saml_plugin: false
rm_saml_plugin_url: "https://github.com/alphanodes/redmine_saml.git"
rm_saml_branch: stable
rm_saml_entity_id: 'redmine_saml'
rm_saml_assertion_consumer_service_url: "http://redmine.local/auth/saml/callback"
rm_saml_issuer: "https://redmine.local/auth/saml/metadata"
rm_saml_single_logout_service_url: "https://redmine.local/auth/saml/sls"
rm_saml_idp_sso_target_url: "https://idp.local/auth/realms/realm/protocol/saml"
rm_saml_idp_cert: "cert string without begin and end sections"
# Use "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" for the email
rm_saml_name_identifier_format: "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
rm_saml_signout_url: "https://idp.local/auth/realms/realm/protocol/saml"
rm_saml_idp_slo_target_url: "https://idp.local/auth/realms/realm/protocol/saml"
rm_saml_attribute_mapping:
- name: login
value: "extra|raw_info|username"
- name: mail
value: "extra|raw_info|email"
- name: firstname
value: "extra|raw_info|first_name"
- name: lastname
value: "extra|raw_info|last_name"
- name: admin
value: "extra|raw_info|admin"
# Used by unicorn
unicorn_listen_port: 4000
unicorn_listen_address: 127.0.0.1
unicorn_worker_processes: 5
unicorn_timeout: 120
unicorn_log_dir: /var/log/unicorn
unicorn_pid_dir: '{{ unicorn_log_dir }}'
unicorn_pid_file: '{{ unicorn_pid_dir }}/unicorn.pid'
redmine_additional_gems: []