Skip to content

Commit

Permalink
trying to fix some lint checks
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodav committed Mar 19, 2019
1 parent 8d23908 commit a270bdf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
0.9.0
* Tests added and fixes to be compatible with latest redmine role
* As sidebar_hide plugin is not available anymore we have changed to redmine_smile_togglesidebar,
you must uninstall sidebar_hide before upgrading this role and this redmine_plugin
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ galaxy_info:
company: CoffeeITWorks@github
min_ansible_version: 2.6
# https://galaxy.ansible.com/api/v1/platforms/
license: MIT
platforms:
- name: Ubuntu
versions:
Expand Down
11 changes: 11 additions & 0 deletions tasks/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
chdir: "{{ redmine_plugins_dir }}"
removes: "{{ redmine_plugins_dir }}/{{ item.value.name }}"
become_user: "{{ redmine_system_user }}"
become: yes
with_dict: "{{ redmine_plugins_disabled }}"
notify:
- restart apache
Expand Down Expand Up @@ -48,6 +49,7 @@
- "{{ redmine_plugins_dependencies }}"
- gems
become_user: "{{ redmine_system_user }}"
become: yes
notify:
- restart apache

Expand All @@ -58,6 +60,7 @@
- "{{ redmine_plugins_dependencies }}"
- gems
become_user: "{{ redmine_system_user }}"
become: yes
notify:
- restart apache

Expand All @@ -76,10 +79,12 @@
umask: "0002"
update: yes
force: yes
version: "{{ item.value.version | default('master') }}"
with_dict: "{{ redmine_plugins_git }}"
tags:
- plugins
become_user: "{{ redmine_system_user }}"
become: yes

- name: mercurial clone plugins
hg:
Expand All @@ -100,6 +105,8 @@
with_items:
- RAILS_ENV=production bundle _{{ redmine_bundle_version }}_ install --without development test
become_user: "{{ redmine_system_user }}"
become: yes
changed_when: false
notify:
- restart apache

Expand Down Expand Up @@ -138,6 +145,8 @@
with_items:
- RAILS_ENV=production bundle _{{ redmine_bundle_version }}_ exec rake redmine:plugins:migrate
become_user: "{{ redmine_system_user }}"
become: yes
changed_when: false
notify:
- restart apache

Expand All @@ -150,5 +159,7 @@
- RAILS_ENV=production bundle _{{ redmine_bundle_version }}_ exec rake db:migrate
- RAILS_ENV=production REDMINE_LANG=en bundle _{{ redmine_bundle_version }}_ exec rake redmine:load_default_data
become_user: "{{ redmine_system_user }}"
become: yes
changed_when: false
notify:
- restart apache

0 comments on commit a270bdf

Please sign in to comment.