More cleanup of the plugins tasks.
This commit is contained in:
parent
d429968f1d
commit
966c7e434a
|
@ -120,6 +120,7 @@ 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_version: "v0.0.3"
|
||||
rm_hotkeysjs_plugin: False
|
||||
rm_issuessorting_url: 'https://github.com/JohnBat26/redmine_issues_sorting'
|
||||
rm_issuessorting_plugin: False
|
||||
|
|
|
@ -1,31 +1,33 @@
|
|||
---
|
||||
#
|
||||
# Plugins
|
||||
#
|
||||
- name: Create the directory where the plugins are downloaded
|
||||
ansible.builtin.file: dest={{ redmine_glob_root_dir }}/plugins_download state=directory
|
||||
tags: [ 'redmine', 'redmine_plugins' ]
|
||||
- name: redmine-plugins | Create the directory where the plugins are downloaded
|
||||
ansible.builtin.file:
|
||||
dest: "{{ redmine_glob_root_dir }}/plugins_download"
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0755"
|
||||
tags: ['redmine', 'redmine_plugins']
|
||||
|
||||
- name: Install the better gantt plugin
|
||||
- name: redmine-plugins | Install the better gantt plugin
|
||||
ansible.builtin.git:
|
||||
repo: '{{ rm_better_gantt_url }}'
|
||||
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/better_gantt_chart'
|
||||
update: no
|
||||
update: false
|
||||
notify:
|
||||
- Reload unicorn when needed
|
||||
when: rm_better_gantt_plugin
|
||||
tags: [ 'redmine', 'redmine_plugins' ]
|
||||
tags: ['redmine', 'redmine_plugins']
|
||||
|
||||
- name: Install the ldap sync plugin
|
||||
- name: redmine-plugins | Install the ldap sync plugin
|
||||
ansible.builtin.git:
|
||||
repo: '{{ rm_ldap_sync_url }}'
|
||||
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_ldap_sync'
|
||||
update: no
|
||||
update: false
|
||||
notify: Bundle install and reconfigure redmine
|
||||
when: rm_ldap_sync
|
||||
tags: [ 'redmine', 'redmine_plugins', 'rm_ldap_sync' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'rm_ldap_sync']
|
||||
|
||||
- name: Cron job that manages the ldap sync
|
||||
- name: redmine-plugins | Cron job that manages the ldap sync
|
||||
ansible.builtin.cron:
|
||||
name: Sync the ldap users and groups
|
||||
job: '{{ redmine_ldap_sync_cron_job }}'
|
||||
|
@ -34,9 +36,9 @@
|
|||
cron_file: redmine-ldap-sync
|
||||
state: present
|
||||
when: rm_ldap_sync
|
||||
tags: [ 'redmine', 'redmine_plugins', 'rm_ldap_sync' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'rm_ldap_sync']
|
||||
|
||||
- name: Redmine login audit plugin
|
||||
- name: redmine-plugins | Redmine login audit plugin
|
||||
ansible.builtin.git:
|
||||
repo: '{{ rm_login_audit_url }}'
|
||||
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_login_audit'
|
||||
|
@ -46,113 +48,158 @@
|
|||
when: rm_login_audit_plugin
|
||||
tags: ['redmine', 'redmine_plugins', 'rm_audit_plugin']
|
||||
|
||||
- name: Redmine auto_watcher_from_groups plugin
|
||||
- name: redmine-plugins | Redmine auto_watcher_from_groups plugin
|
||||
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
|
||||
update: false
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
when: rm_auto_watchers_from_groups
|
||||
tags: [ 'redmine', 'redmine_plugins', 'rm_auto_watchers_plugin' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'rm_auto_watchers_plugin']
|
||||
|
||||
- name: Redmine subversion links plugin
|
||||
- name: redmine-plugins | Redmine subversion links plugin
|
||||
ansible.builtin.git:
|
||||
repo: '{{ rm_addsubversionlinks_url }}'
|
||||
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_add_subversion_links'
|
||||
update: no
|
||||
update: false
|
||||
when: rm_addsubversionlinks_plugin
|
||||
notify:
|
||||
- Reload unicorn when needed
|
||||
tags: [ 'redmine', 'redmine_plugins', 'rm_addsubversionlinks_plugin' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'rm_addsubversionlinks_plugin']
|
||||
|
||||
- name: Progressive projects list plugin
|
||||
ansible.builtin.git: repo={{ rm_progressive_projects_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/progressive_projects_list update=no
|
||||
- name: redmine-plugins | Progressive projects list plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_progressive_projects_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/progressive_projects_list"
|
||||
update: false
|
||||
notify:
|
||||
- Reconfigure redmine
|
||||
when: rm_progressive_projects_plugin
|
||||
tags: [ 'redmine', 'redmine_plugins' ]
|
||||
tags: ['redmine', 'redmine_plugins']
|
||||
|
||||
- name: didyoumean plugin
|
||||
ansible.builtin.git: repo={{ rm_didyoumean_plugin_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_didyoumean update=no
|
||||
- name: redmine-plugins | Install didyoumean
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_didyoumean_plugin_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_didyoumean"
|
||||
update: false
|
||||
notify:
|
||||
- Reconfigure redmine
|
||||
when: rm_didyoumean_plugin
|
||||
tags: [ 'redmine', 'redmine_plugins' ]
|
||||
tags: ['redmine', 'redmine_plugins']
|
||||
|
||||
- name: Install the graphs plugin
|
||||
ansible.builtin.git: repo={{ rm_graphs_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_graphs update=no
|
||||
- name: redmine-plugins | Install the graphs plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_graphs_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_graphs"
|
||||
update: false
|
||||
notify:
|
||||
- Reconfigure redmine
|
||||
when: rm_graphs_plugin
|
||||
tags: [ 'redmine', 'redmine_plugins' ]
|
||||
tags: ['redmine', 'redmine_plugins']
|
||||
|
||||
- name: Install the embedded tab plugin
|
||||
ansible.builtin.git: repo={{ rm_embedded_tabs_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_tab update=no
|
||||
- name: redmine-plugins | Install the embedded tab plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_embedded_tabs_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_tab"
|
||||
update: false
|
||||
notify:
|
||||
- apache2 reload when needed
|
||||
- Reload unicorn when needed
|
||||
when: rm_embedded_tabs_plugin
|
||||
tags: [ 'redmine', 'redmine_plugins', 'rm_embedded_tabs' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'rm_embedded_tabs']
|
||||
|
||||
- name: Install the recurring-tasks plugin
|
||||
ansible.builtin.git: repo={{ rm_recurring_tasks_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/recurring_tasks update=no
|
||||
- name: redmine-plugins | Install the recurring-tasks plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_recurring_tasks_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/recurring_tasks"
|
||||
update: false
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
when: rm_recurring_tasks_plugin
|
||||
tags: [ 'redmine', 'redmine_plugins', 'rm_recurring_tasks' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'rm_recurring_tasks']
|
||||
|
||||
- name: Cron job that manages the recurring tasks
|
||||
ansible.builtin.template: src=redmine-recurring-tasks.cron.j2 dest=/etc/cron.d/redmine-recurring-tasks owner=root group=root mode=0444
|
||||
- name: redmine-plugins | Cron job that manages the recurring tasks
|
||||
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' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'rm_recurring_tasks']
|
||||
|
||||
- name: Install the redmine advanced roadmap plugin
|
||||
ansible.builtin.git: repo={{ rm_advanced_roadmap_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/advanced_roadmap_v2 update=no
|
||||
- name: redmine-plugins | Install advanced roadmap
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_advanced_roadmap_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/advanced_roadmap_v2"
|
||||
update: false
|
||||
when: rm_advanced_roadmap_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_ar' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_ar']
|
||||
|
||||
- name: Install the redmine scrum2b plugin
|
||||
ansible.builtin.git: repo={{ rm_scrum2b_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/scrum2b update=no
|
||||
- name: redmine-plugins | Install the redmine scrum2b plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_scrum2b_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/scrum2b"
|
||||
update: false
|
||||
when: rm_scrum2b_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_scrum2b' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_scrum2b']
|
||||
|
||||
- name: Install the issue reminder plugin
|
||||
ansible.builtin.git: repo={{ rm_issuereminder_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mail_reminder update=no
|
||||
- name: redmine-plugins | Install the issue reminder plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_issuereminder_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mail_reminder"
|
||||
update: false
|
||||
when: rm_issuereminder_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_issuereminder' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_issuereminder']
|
||||
|
||||
- name: Install the issue reminder plugin cron job.
|
||||
ansible.builtin.template: src=redmine_issue_reminder.cron.j2 dest=/etc/cron.d/redmine_issue_reminder owner=root group=root mode=0644
|
||||
- name: redmine-plugins | Install the issue reminder plugin cron job.
|
||||
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' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_issuereminder']
|
||||
|
||||
- name: Install the update reminder plugin
|
||||
ansible.builtin.git: repo={{ rm_updatereminder_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_update_reminder update=no
|
||||
- name: redmine-plugins | Install the update reminder plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_updatereminder_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_update_reminder"
|
||||
update: false
|
||||
when: rm_updatereminder_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_updatereminder' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_updatereminder']
|
||||
|
||||
- name: Install the update reminder plugin cron job. The ruby scheduler does not work, it seems
|
||||
ansible.builtin.template: src=redmine_update_reminder.cron.j2 dest=/etc/cron.d/redmine_update_reminder owner=root group=root mode=0644
|
||||
- name: redmine-plugins | Install the update reminder plugin cron job. The ruby scheduler does not work, it seems
|
||||
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' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_updatereminder']
|
||||
|
||||
- name: Install the default custom query plugin
|
||||
ansible.builtin.git: repo={{ rm_defaultcustomquery_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_default_custom_query update=no
|
||||
- name: redmine-plugins | Install the default custom query plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_defaultcustomquery_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_default_custom_query"
|
||||
update: false
|
||||
when: rm_defaultcustomquery_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_defaultcustomquery' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_defaultcustomquery']
|
||||
|
||||
- name: Install the closes resolved issues plugin
|
||||
- name: redmine-plugins | Install the closes resolved issues plugin
|
||||
ansible.builtin.git:
|
||||
repo: '{{ rm_closesresolvedissue_url }}'
|
||||
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_closes_resolved_issues'
|
||||
|
@ -160,147 +207,193 @@
|
|||
when: rm_closesresolvedissue_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_closesresolvedissue' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_closesresolvedissue']
|
||||
|
||||
- name: Install the tasks handler for the close resolved issues plugin
|
||||
- name: redmine-plugins | Install the tasks handler for the close resolved issues plugin
|
||||
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'
|
||||
remote_src: true
|
||||
owner: root
|
||||
group: redmine
|
||||
mode: "0640"
|
||||
notify: Reload unicorn
|
||||
when: rm_closesresolvedissue_plugin
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_closesresolvedissue' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_closesresolvedissue']
|
||||
|
||||
- name: Install the default assign plugin
|
||||
ansible.builtin.git: repo={{ rm_defaultassign_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_default_assign update=no
|
||||
- name: redmine-plugins | Install the default assign plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_defaultassign_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_default_assign"
|
||||
update: false
|
||||
when: rm_defaultassign_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_defaultassign' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_defaultassign']
|
||||
|
||||
- name: Install the once assigned ever watcher plugin
|
||||
ansible.builtin.git: repo={{ rm_onceassignedeverwatcher_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/once_assigned_ever_watcher update=no
|
||||
- name: redmine-plugins | Install the once assigned ever watcher plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_onceassignedeverwatcher_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/once_assigned_ever_watcher"
|
||||
update: false
|
||||
when: rm_onceassignedeverwatcher_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_onceassignedeverwatcher' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_onceassignedeverwatcher']
|
||||
|
||||
- name: Install the clipboard image paste plugin
|
||||
ansible.builtin.git: repo={{ rm_clipboardimagepaste_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/clipboard_image_paste update=no
|
||||
- name: redmine-plugins | Install the clipboard image paste plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_clipboardimagepaste_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/clipboard_image_paste"
|
||||
update: false
|
||||
when: rm_clipboardimagepaste_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_clipboardimagepaste' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_clipboardimagepaste']
|
||||
|
||||
- name: Install the hotkeys js plugin
|
||||
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
|
||||
- name: redmine-plugins | Install the hotkeys js plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_hotkeysjs_url }}"
|
||||
version: "{{ rm_hotkeysjs_version }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_hotkeys_js"
|
||||
update: false
|
||||
when: rm_hotkeysjs_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_hotkeysjs' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_hotkeysjs']
|
||||
|
||||
- name: Install the issues sorting plugin
|
||||
ansible.builtin.git: repo={{ rm_issuessorting_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_issues_sorting update=no
|
||||
- name: redmine-plugins | Install the issues sorting plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_issuessorting_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_issues_sorting"
|
||||
update: false
|
||||
when: rm_issuessorting_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_issuessorting' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_issuessorting']
|
||||
|
||||
- name: Install the mylyn plugin
|
||||
ansible.builtin.git: repo={{ rm_mylyn_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mylyn_plugin update=no
|
||||
- name: redmine-plugins | Install the mylyn plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_mylyn_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mylyn_plugin"
|
||||
update: false
|
||||
when: rm_mylyn_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_mylyn' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_mylyn']
|
||||
|
||||
- name: Install the quick edit plugin
|
||||
ansible.builtin.git: repo={{ rm_quickedit_url }} accept_hostkey=yes dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/quick_edit update=no
|
||||
- name: redmine-plugins | Install the quick edit plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_quickedit_url }}"
|
||||
accept_hostkey: true
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/quick_edit"
|
||||
update: false
|
||||
when: rm_quickedit_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_quickedit' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_quickedit']
|
||||
|
||||
- name: Install the quick view plugin
|
||||
ansible.builtin.git: repo={{ rm_quickview_url }} accept_hostkey=yes dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/quick_view update=no
|
||||
- name: redmine-plugins | Install the quick view plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_quickview_url }}"
|
||||
accept_hostkey: true
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/quick_view"
|
||||
update: false
|
||||
when: rm_quickview_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_quickview' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_quickview']
|
||||
|
||||
- name: Install the mylyn connector plugin
|
||||
ansible.builtin.git: repo={{ rm_mylynconnector_url }} accept_hostkey=yes dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mylyn_connector update=no
|
||||
- name: redmine-plugins | Install the mylyn connector plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_mylynconnector_url }}"
|
||||
accept_hostkey: true
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mylyn_connector"
|
||||
update: false
|
||||
when: rm_mylynconnector_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_mylynconnector' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_mylynconnector']
|
||||
|
||||
- name: Install the mentions plugin
|
||||
ansible.builtin.git: repo={{ rm_mentions_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mentions update=no
|
||||
- name: redmine-plugins | Install the mentions plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_mentions_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mentions"
|
||||
update: false
|
||||
when: rm_mentions_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_mentions' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_mentions']
|
||||
|
||||
- name: Install the external wiki plugin
|
||||
ansible.builtin.git: repo={{ rm_wiki_external_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/wiki_external update=no
|
||||
- name: redmine-plugins | Install the external wiki plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_wiki_external_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/wiki_external"
|
||||
update: false
|
||||
when: rm_wiki_external_plugin
|
||||
notify: Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_wiki_external' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_wiki_external']
|
||||
|
||||
- name: Install the wiki backlinks
|
||||
- name: redmine-plugins | Install the wiki backlinks
|
||||
ansible.builtin.git:
|
||||
repo: '{{ rm_wiki_backlinks_url }}'
|
||||
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_wiki_backlinks'
|
||||
update: no
|
||||
update: false
|
||||
when: rm_wiki_backlinks_plugin
|
||||
notify: Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_wiki_backlinks' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_wiki_backlinks']
|
||||
|
||||
- name: Install the paste plugin
|
||||
ansible.builtin.git: repo={{ rm_pastebin_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_pastebin update=no
|
||||
- name: redmine-plugins | Install the paste plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_pastebin_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_pastebin"
|
||||
update: false
|
||||
when: rm_pastebin_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_pastebin' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_pastebin']
|
||||
|
||||
- name: Install the issue_templates plugin
|
||||
ansible.builtin.git: repo={{ rm_issue_templates_url }} dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_issue_templates update=no
|
||||
- name: redmine-plugins | Install the issue_templates plugin
|
||||
ansible.builtin.git:
|
||||
repo: "{{ rm_issue_templates_url }}"
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_issue_templates"
|
||||
update: false
|
||||
when: rm_issue_templates_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_issue_templates' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_issue_templates']
|
||||
|
||||
- name: Install the issue_todo_lists plugin
|
||||
- name: redmine-plugins | Install the issue_todo_lists plugin
|
||||
ansible.builtin.git:
|
||||
repo: '{{ rm_issue_todo_lists_url }}'
|
||||
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_issue_todo_lists'
|
||||
update: no
|
||||
update: false
|
||||
when: rm_issue_todo_lists_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_issue_todo_lists' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_issue_todo_lists']
|
||||
|
||||
- name: Install the involvement filter plugin
|
||||
- name: redmine-plugins | Install the involvement filter plugin
|
||||
ansible.builtin.git:
|
||||
repo: '{{ rm_involvement_url }}'
|
||||
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_involvement_filter'
|
||||
update: no
|
||||
update: false
|
||||
when: rm_involvement_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_involvement_filter' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'redmine_plugins_involvement_filter']
|
||||
|
||||
- name: Install the omniauth Oauth plugin
|
||||
- name: redmine-plugins | Install the omniauth Oauth plugin
|
||||
ansible.builtin.git:
|
||||
repo: '{{ rm_omniauth_url }}'
|
||||
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_omniauth_client'
|
||||
update: no
|
||||
update: false
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
when: rm_omniauth_plugin
|
||||
tags: [ 'redmine', 'redmine_plugins', 'rm_oauth', 'rm_omniauth' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'rm_oauth', 'rm_omniauth']
|
||||
|
||||
- name: Remove the omniauth Oauth plugin
|
||||
- name: redmine-plugins | Remove the omniauth Oauth plugin
|
||||
ansible.builtin.file:
|
||||
dest: "{{ item }}"
|
||||
state: absent
|
||||
|
@ -311,17 +404,17 @@
|
|||
when: not rm_omniauth_plugin
|
||||
tags: ['redmine', 'redmine_plugins', 'rm_oauth', 'rm_omniauth']
|
||||
|
||||
- name: Install the OpenId connect plugin
|
||||
- name: redmine-plugins | Install the OpenId connect plugin
|
||||
ansible.builtin.git:
|
||||
repo: '{{ rm_openid_connect_plugin_url }}'
|
||||
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_openid_connect'
|
||||
update: no
|
||||
update: false
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
when: rm_openid_connect_plugin
|
||||
tags: [ 'redmine', 'redmine_plugins', 'rm_oidc', 'rm_openid_connect' ]
|
||||
tags: ['redmine', 'redmine_plugins', 'rm_oidc', 'rm_openid_connect']
|
||||
|
||||
- name: Install the additionals plugin
|
||||
- name: redmine-plugins | Install the additionals plugin
|
||||
ansible.builtin.git:
|
||||
repo: '{{ rm_additionals_plugin_url }}'
|
||||
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/additionals'
|
||||
|
@ -342,7 +435,7 @@
|
|||
when: rm_saml_plugin
|
||||
tags: ['redmine', 'redmine_plugins', 'rm_saml']
|
||||
|
||||
- name: Configure the SAML plugin
|
||||
- name: redmine-plugins | Configure the SAML plugin
|
||||
ansible.builtin.template:
|
||||
src: saml.rb.j2
|
||||
dest: "{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/config/initializers/saml.rb"
|
||||
|
@ -353,7 +446,7 @@
|
|||
when: rm_saml_plugin
|
||||
tags: ['redmine', 'redmine_plugins', 'rm_saml']
|
||||
|
||||
- name: Install the dashboard plugin
|
||||
- name: redmine-plugins | Install the dashboard plugin
|
||||
ansible.builtin.git:
|
||||
repo: '{{ rm_dashboard_plugin_url }}'
|
||||
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/dashboard'
|
||||
|
|
Loading…
Reference in New Issue