1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-09-19 15:30:34 +00:00

Deployment conformity

This commit is contained in:
Kris Lamoureux 2021-04-20 12:06:22 -04:00
parent 6899d13217
commit 8f86e58cb4
Signed by: kris
GPG Key ID: A30022791E1719A4
3 changed files with 3 additions and 2 deletions

View File

@ -68,6 +68,7 @@
src: '{{ nginx_pem }}'
become: yes
notify: restart nginx
when: not is_production_vm
- name: manage Nginx service
service:

View File

@ -7,6 +7,6 @@ cd {{ redmine_root_dir }}
[[ -s "{{ rvm1_install_path }}/scripts/rvm" ]] && \
source "{{ rvm1_install_path }}/scripts/rvm"
{{ rvm1_install_path }}/gems/ruby-{{ ruby_version }}/bin/bundle exec rake \
{{ rvm1_install_path }}/rubies/ruby-{{ ruby_version }}/bin/bundle exec rake \
eupathdb:fetch_changesets \
RAILS_ENV="production"

View File

@ -5,7 +5,7 @@ cd {{ redmine_root_dir }}
[[ -s "{{ rvm1_install_path }}/scripts/rvm" ]] && \
source "{{ rvm1_install_path }}/scripts/rvm"
{{ rvm1_install_path }}/gems/ruby-{{ ruby_version }}/bin/bundle exec rake \
{{ rvm1_install_path }}/rubies/ruby-{{ ruby_version }}/bin/bundle exec rake \
redmine:email:receive_imap \
RAILS_ENV="production" \
project=sysdba \