diff --git a/redmine/defaults/main.yml b/redmine/defaults/main.yml index 04c0a7fa..107ac522 100644 --- a/redmine/defaults/main.yml +++ b/redmine/defaults/main.yml @@ -32,6 +32,11 @@ redmine_glob_users_home_base: /srv/redmine-home # Plugins rm_ldap_auth: False rm_ldap_synch: False +rm_better_gant_plugin: False +rm_login_audit_plugin: False +rm_progressive_projects_plugin: False +rm_didyoumean_plugin: False +rm_graphs_plugin: False rm_embedded_tabs_plugin: False rm_recurring_tasks_plugin: False redmine_install_agile_plugin: False diff --git a/redmine/tasks/main.yml b/redmine/tasks/main.yml index ec466521..582a90ea 100644 --- a/redmine/tasks/main.yml +++ b/redmine/tasks/main.yml @@ -5,7 +5,7 @@ when: is_bionic - import_tasks: rubygems.yml - import_tasks: redmine.yml -#- import_tasks: redmine-plugins.yml +- import_tasks: redmine-plugins.yml - import_tasks: base-config.yml when: ruby_use_mod_passenger - import_tasks: mod_passenger.yml diff --git a/redmine/tasks/redmine-plugins.yml b/redmine/tasks/redmine-plugins.yml index 3a41a19b..58813136 100644 --- a/redmine/tasks/redmine-plugins.yml +++ b/redmine/tasks/redmine-plugins.yml @@ -8,6 +8,7 @@ - name: Redmine better gantt plugin get_url: url=https://github.com/kulesa/redmine_better_gantt_chart/releases/download/v.0.9.0/redmine_better_gantt_chart_0.9.0.zip dest={{ redmine_glob_root_dir }}/plugins_download/redmine_better_gantt_chart_0.9.0.zip + when: rm_better_gant_plugin tags: [ 'redmine', 'redmine_plugins' ] - name: Install the better gantt plugin @@ -15,13 +16,14 @@ notify: - apache2 reload when needed - Reload unicorn when needed + when: rm_better_gant_plugin tags: [ 'redmine', 'redmine_plugins' ] - name: Install the ldap sync plugin git: repo=https://github.com/thorin/redmine_ldap_sync.git dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_ldap_sync update=no - when: rm_ldap_synch notify: - Bundle install and reconfigure redmine + when: rm_ldap_synch tags: [ 'redmine', 'redmine_plugins', 'rm_ldap_synch' ] - name: Cron job that manages the ldap synch @@ -33,6 +35,7 @@ git: repo=https://github.com/martin-denizet/redmine_login_audit.git dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_login_audit update=no notify: - Reconfigure redmine + when: rm_login_audit_plugin tags: [ 'redmine', 'redmine_plugins' ] - name: Redmine subversion links plugin @@ -47,18 +50,21 @@ git: repo=https://github.com/stgeneral/redmine-progressive-projects-list.git 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=https://github.com/abahgat/redmine_didyoumean.git 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=https://github.com/bradbeattie/redmine-graphs-plugin.git 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