Some cleanup.

This commit is contained in:
Andrea Dell'Amico 2023-07-20 17:35:42 +02:00
parent 0bbe33a258
commit 3255e73e01
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
6 changed files with 71 additions and 71 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
# ---> Ansible
*.retry
.vscode/settings.json

View File

@ -24,9 +24,10 @@ redmine_group: '{{ redmine_user }}'
redmine_memcached: True
redmine_memcache_hosts:
- 'localhost:11211'
# Ubuntu 14.04: install ruby from a ppa to get a newer version
redmine_trusty_ruby_repo: 'ppa:brightbox/ruby-ng'
trusty_ruby_version: 2.3
#
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'
@ -40,6 +41,7 @@ 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

View File

@ -3,9 +3,6 @@ galaxy_info:
namespace: adellam
description: Role that installs Redmine https://www.redmine.org
company: ISTI-CNR
issue_tracker_url: https://redmine-s2i2s.isti.cnr.it/projects/provisioning
license: EUPL 1.2+
min_ansible_version: "2.8"
@ -17,6 +14,7 @@ galaxy_info:
- name: Ubuntu
versions:
- bionic
- jammy
galaxy_tags:
- redmine

View File

@ -1,18 +1,19 @@
---
- block:
- name: Install a PPA on trusty to get a newer version of ruby
apt_repository: repo={{ redmine_trusty_ruby_repo }} state=present update_cache=yes
- name: Install the packages needed to run the redmine infrastructure. install the ruby packages needed to run redmine, Ubuntu Trusty
apt: pkg={{ redmine_base_packages }} state=present cache_valid_time=1800
when: ansible_distribution_version is version_compare('14.04', '==')
tags: [ 'ruby', 'redmine' ]
- block:
- name: Install the packages needed to run the redmine infrastructure. install the ruby packages needed to run redmine, Ubuntu Bionic
apt: pkg={{ redmine_bionic_packages }} state=present cache_valid_time=1800
when: ansible_distribution_version is version_compare('18.04', '==')
tags: [ 'ruby', 'redmine' ]
- name: Manage the APT packages
when: redmine_external_ruby_ppa_enabled
tags: ['ruby', 'redmine', 'ruby_packages']
block:
- name: Install a PPA on trusty to get a newer version of ruby
ansible.builtin.apt_repository:
repo: "{{ redmine_external_ppa_repo }}"
state: present
update_cache: true
- name: Manage the APT packages
tags: ['ruby', 'redmine', 'ruby_packages']
block:
- name: Install the packages needed to run the redmine infrastructure. install the ruby packages needed to run redmine, Ubuntu Bionic
ansible.builtin.apt:
pkg: "{% if redmine_external_ruby_ppa_enabled %}{{ redmine_ppa_packages }}{% else %}{{ redmine_distribution_packages }}%}"
state: present
cache_valid_time: 1800

View File

@ -3,11 +3,11 @@
# Plugins
#
- name: Create the directory where the plugins are downloaded
file: dest={{ redmine_glob_root_dir }}/plugins_download state=directory
ansible.builtin.file: dest={{ redmine_glob_root_dir }}/plugins_download state=directory
tags: [ 'redmine', 'redmine_plugins' ]
- name: Install the better gantt plugin
git:
ansible.builtin.git:
repo: '{{ rm_better_gantt_url }}'
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/better_gantt_chart'
update: no
@ -17,7 +17,7 @@
tags: [ 'redmine', 'redmine_plugins' ]
- name: Install the ldap sync plugin
git:
ansible.builtin.git:
repo: '{{ rm_ldap_sync_url }}'
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_ldap_sync'
update: no
@ -26,7 +26,7 @@
tags: [ 'redmine', 'redmine_plugins', 'rm_ldap_sync' ]
- name: Cron job that manages the ldap sync
cron:
ansible.builtin.cron:
name: Sync the ldap users and groups
job: '{{ redmine_ldap_sync_cron_job }}'
user: '{{ redmine_user }}'
@ -37,17 +37,17 @@
tags: [ 'redmine', 'redmine_plugins', 'rm_ldap_sync' ]
- name: Redmine login audit plugin
git:
ansible.builtin.ansible.builtin.git:
repo: '{{ rm_login_audit_url }}'
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_login_audit'
update: no
update: false
notify:
- Bundle install and reconfigure redmine
when: rm_login_audit_plugin
tags: [ 'redmine', 'redmine_plugins', 'rm_audit_plugin' ]
tags: ['redmine', 'redmine_plugins', 'rm_audit_plugin']
- name: Redmine auto_watcher_from_groups plugin
git:
ansible.builtin.git:
repo: '{{ rm_auto_watcher_from_groups_url }}'
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_auto_watchers_from_groups'
update: no
@ -57,7 +57,7 @@
tags: [ 'redmine', 'redmine_plugins', 'rm_auto_watchers_plugin' ]
- name: Redmine subversion links plugin
git:
ansible.builtin.git:
repo: '{{ rm_addsubversionlinks_url }}'
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_add_subversion_links'
update: no
@ -67,28 +67,28 @@
tags: [ 'redmine', 'redmine_plugins', 'rm_addsubversionlinks_plugin' ]
- name: Progressive projects list plugin
git: repo={{ rm_progressive_projects_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/progressive_projects_list update=no
ansible.builtin.git: repo={{ rm_progressive_projects_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/progressive_projects_list update=no
notify:
- Reconfigure redmine
when: rm_progressive_projects_plugin
tags: [ 'redmine', 'redmine_plugins' ]
- name: didyoumean plugin
git: repo={{ rm_didyoumean_plugin_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_didyoumean update=no
ansible.builtin.git: repo={{ rm_didyoumean_plugin_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_didyoumean update=no
notify:
- Reconfigure redmine
when: rm_didyoumean_plugin
tags: [ 'redmine', 'redmine_plugins' ]
- name: Install the graphs plugin
git: repo={{ rm_graphs_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_graphs update=no
ansible.builtin.git: repo={{ rm_graphs_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_graphs update=no
notify:
- Reconfigure redmine
when: rm_graphs_plugin
tags: [ 'redmine', 'redmine_plugins' ]
- name: Install the embedded tab plugin
git: repo={{ rm_embedded_tabs_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_tab update=no
ansible.builtin.git: repo={{ rm_embedded_tabs_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_tab update=no
notify:
- apache2 reload when needed
- Reload unicorn when needed
@ -96,64 +96,64 @@
tags: [ 'redmine', 'redmine_plugins', 'rm_embedded_tabs' ]
- name: Install the recurring-tasks plugin
git: repo={{ rm_recurring_tasks_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/recurring_tasks update=no
ansible.builtin.git: repo={{ rm_recurring_tasks_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/recurring_tasks update=no
notify:
- Bundle install and reconfigure redmine
when: rm_recurring_tasks_plugin
tags: [ 'redmine', 'redmine_plugins', 'rm_recurring_tasks' ]
- name: Cron job that manages the recurring tasks
template: src=redmine-recurring-tasks.cron.j2 dest=/etc/cron.d/redmine-recurring-tasks owner=root group=root mode=0444
ansible.builtin.template: src=redmine-recurring-tasks.cron.j2 dest=/etc/cron.d/redmine-recurring-tasks owner=root group=root mode=0444
when: rm_recurring_tasks_plugin
tags: [ 'redmine', 'redmine_plugins', 'rm_recurring_tasks' ]
- name: Install the redmine advanced roadmap plugin
git: repo={{ rm_advanced_roadmap_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/advanced_roadmap_v2 update=no
ansible.builtin.git: repo={{ rm_advanced_roadmap_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/advanced_roadmap_v2 update=no
when: rm_advanced_roadmap_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_ar' ]
- name: Install the redmine scrum2b plugin
git: repo={{ rm_scrum2b_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/scrum2b update=no
ansible.builtin.git: repo={{ rm_scrum2b_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/scrum2b update=no
when: rm_scrum2b_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_scrum2b' ]
- name: Install the issue reminder plugin
git: repo={{ rm_issuereminder_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mail_reminder update=no
ansible.builtin.git: repo={{ rm_issuereminder_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mail_reminder update=no
when: rm_issuereminder_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_issuereminder' ]
- name: Install the issue reminder plugin cron job.
template: src=redmine_issue_reminder.cron.j2 dest=/etc/cron.d/redmine_issue_reminder owner=root group=root mode=0644
ansible.builtin.template: src=redmine_issue_reminder.cron.j2 dest=/etc/cron.d/redmine_issue_reminder owner=root group=root mode=0644
when: rm_issuereminder_plugin
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_issuereminder' ]
- name: Install the update reminder plugin
git: repo={{ rm_updatereminder_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_update_reminder update=no
ansible.builtin.git: repo={{ rm_updatereminder_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_update_reminder update=no
when: rm_updatereminder_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_updatereminder' ]
- name: Install the update reminder plugin cron job. The ruby scheduler does not work, it seems
template: src=redmine_update_reminder.cron.j2 dest=/etc/cron.d/redmine_update_reminder owner=root group=root mode=0644
ansible.builtin.template: src=redmine_update_reminder.cron.j2 dest=/etc/cron.d/redmine_update_reminder owner=root group=root mode=0644
when: rm_updatereminder_plugin
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_updatereminder' ]
- name: Install the default custom query plugin
git: repo={{ rm_defaultcustomquery_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_default_custom_query update=no
ansible.builtin.git: repo={{ rm_defaultcustomquery_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_default_custom_query update=no
when: rm_defaultcustomquery_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_defaultcustomquery' ]
- name: Install the closes resolved issues plugin
git:
ansible.builtin.git:
repo: '{{ rm_closesresolvedissue_url }}'
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_closes_resolved_issues'
update: no
@ -163,7 +163,7 @@
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_closesresolvedissue' ]
- name: Install the tasks handler for the close resolved issues plugin
copy:
ansible.builtin.copy:
src: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_closes_resolved_issues/config/initializers/task_scheduler.rb'
remote_src: True
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/config/initializers/task_scheduler.rb'
@ -172,83 +172,83 @@
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_closesresolvedissue' ]
- name: Install the default assign plugin
git: repo={{ rm_defaultassign_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_default_assign update=no
ansible.builtin.git: repo={{ rm_defaultassign_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_default_assign update=no
when: rm_defaultassign_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_defaultassign' ]
- name: Install the once assigned ever watcher plugin
git: repo={{ rm_onceassignedeverwatcher_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/once_assigned_ever_watcher update=no
ansible.builtin.git: repo={{ rm_onceassignedeverwatcher_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/once_assigned_ever_watcher update=no
when: rm_onceassignedeverwatcher_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_onceassignedeverwatcher' ]
- name: Install the clipboard image paste plugin
git: repo={{ rm_clipboardimagepaste_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/clipboard_image_paste update=no
ansible.builtin.git: repo={{ rm_clipboardimagepaste_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/clipboard_image_paste update=no
when: rm_clipboardimagepaste_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_clipboardimagepaste' ]
- name: Install the hotkeys js plugin
git: repo={{ rm_hotkeysjs_url }} version=v0.0.3 dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_hotkeys_js update=no
ansible.builtin.git: repo={{ rm_hotkeysjs_url }} version=v0.0.3 dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_hotkeys_js update=no
when: rm_hotkeysjs_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_hotkeysjs' ]
- name: Install the issues sorting plugin
git: repo={{ rm_issuessorting_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_issues_sorting update=no
ansible.builtin.git: repo={{ rm_issuessorting_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_issues_sorting update=no
when: rm_issuessorting_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_issuessorting' ]
- name: Install the mylyn plugin
git: repo={{ rm_mylyn_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mylyn_plugin update=no
ansible.builtin.git: repo={{ rm_mylyn_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mylyn_plugin update=no
when: rm_mylyn_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_mylyn' ]
- name: Install the quick edit plugin
git: repo={{ rm_quickedit_url }} accept_hostkey=yes dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/quick_edit update=no
ansible.builtin.git: repo={{ rm_quickedit_url }} accept_hostkey=yes dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/quick_edit update=no
when: rm_quickedit_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_quickedit' ]
- name: Install the quick view plugin
git: repo={{ rm_quickview_url }} accept_hostkey=yes dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/quick_view update=no
ansible.builtin.git: repo={{ rm_quickview_url }} accept_hostkey=yes dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/quick_view update=no
when: rm_quickview_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_quickview' ]
- name: Install the mylyn connector plugin
git: repo={{ rm_mylynconnector_url }} accept_hostkey=yes dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mylyn_connector update=no
ansible.builtin.git: repo={{ rm_mylynconnector_url }} accept_hostkey=yes dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mylyn_connector update=no
when: rm_mylynconnector_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_mylynconnector' ]
- name: Install the mentions plugin
git: repo={{ rm_mentions_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mentions update=no
ansible.builtin.git: repo={{ rm_mentions_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mentions update=no
when: rm_mentions_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_mentions' ]
- name: Install the external wiki plugin
git: repo={{ rm_wiki_external_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/wiki_external update=no
ansible.builtin.git: repo={{ rm_wiki_external_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/wiki_external update=no
when: rm_wiki_external_plugin
notify: Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_wiki_external' ]
- name: Install the wiki backlinks
git:
ansible.builtin.git:
repo: '{{ rm_wiki_backlinks_url }}'
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_wiki_backlinks'
update: no
@ -257,21 +257,21 @@
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_wiki_backlinks' ]
- name: Install the paste plugin
git: repo={{ rm_pastebin_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_pastebin update=no
ansible.builtin.git: repo={{ rm_pastebin_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_pastebin update=no
when: rm_pastebin_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_pastebin' ]
- name: Install the issue_templates plugin
git: repo={{ rm_issue_templates_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_issue_templates update=no
ansible.builtin.git: repo={{ rm_issue_templates_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_issue_templates update=no
when: rm_issue_templates_plugin
notify:
- Bundle install and reconfigure redmine
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_issue_templates' ]
- name: Install the issue_todo_lists plugin
git:
ansible.builtin.git:
repo: '{{ rm_issue_todo_lists_url }}'
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_issue_todo_lists'
update: no
@ -281,7 +281,7 @@
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_issue_todo_lists' ]
- name: Install the involvement filter plugin
git:
ansible.builtin.git:
repo: '{{ rm_involvement_url }}'
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_involvement_filter'
update: no
@ -291,7 +291,7 @@
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_involvement_filter' ]
- name: Install the omniauth Oauth plugin
git:
ansible.builtin.git:
repo: '{{ rm_omniauth_url }}'
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_omniauth_client'
update: no
@ -301,7 +301,7 @@
tags: [ 'redmine', 'redmine_plugins', 'rm_oauth', 'rm_omniauth' ]
- name: Install the OpenId connect plugin
git:
ansible.builtin.git:
repo: '{{ rm_openid_connect_plugin_url }}'
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_openid_connect'
update: no
@ -311,12 +311,10 @@
tags: [ 'redmine', 'redmine_plugins', 'rm_oidc', 'rm_openid_connect' ]
- name: Install the dashboard plugin
git:
ansible.builtin.git:
repo: '{{ rm_dashboard_plugin_url }}'
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/dashboard'
update: no
notify: Reload unicorn
when: rm_dashboard_plugin
tags: [ 'redmine', 'redmine_plugins', 'rm_dashboard' ]

View File

@ -12,7 +12,7 @@ unicorn_apache_modules:
- lbmethod_heartbeat
# For Ubuntu trusty
redmine_base_packages:
redmine_ppa_packages:
- subversion
- git-core
- curl
@ -28,7 +28,7 @@ redmine_base_packages:
- libmagickcore-dev
- imagemagick
redmine_bionic_packages:
redmine_distribution_packages:
- subversion
- git-core
- curl
@ -56,9 +56,9 @@ nginx_behind_haproxy_settings: '{{ redmine_nginx_behind_haproxy_settings }}'
nginx_cors_enabled: '{{ redmine_nginx_cors_enabled }}'
nginx_cors_global: '{{ redmine_nginx_cors_global }}'
redmine_nginx_virthosts:
- virthost_name: '{{ ansible_fqdn }}'
- virthost_name: '{{ redmine_nginx_virtualhost_name }}'
listen: '{{ http_port }}'
server_name: '{{ ansible_fqdn }}'
server_name: '{{ redmine_nginx_virtualhost_name }}'
serveraliases: '{{ redmine_nginx_serveraliases }}'
ssl_enabled: True
ssl_only: True