From 9224e4d64be96ebde50c81f88af34469e3ef595f Mon Sep 17 00:00:00 2001 From: y503unavailable <y503unavailable@users.noreply.github.com> Date: Sat, 1 Sep 2018 22:40:04 +0900 Subject: [PATCH] add bundle install before plugin db migration (#20) Add bundle install before plugin db migration . tagging plugin need bundle install (#20) --- roles/redmine-plugins/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/redmine-plugins/tasks/main.yml b/roles/redmine-plugins/tasks/main.yml index 2d83dd8..421b5d5 100644 --- a/roles/redmine-plugins/tasks/main.yml +++ b/roles/redmine-plugins/tasks/main.yml @@ -15,6 +15,15 @@ - include: redmine_wysiwyg_editor.yml - include: redmine_tags.yml +- name: bundle install + become: yes + command: + bundle install + chdir={{ redmine_dir }} + environment: + PATH: "/usr/local/bin:{{ ansible_env.PATH }}" + RAILS_ENV: production + - name: db migration become: yes command: