mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2024-11-09 22:40:36 +00:00
Deployment conformity
This commit is contained in:
parent
6899d13217
commit
8f86e58cb4
@ -68,6 +68,7 @@
|
|||||||
src: '{{ nginx_pem }}'
|
src: '{{ nginx_pem }}'
|
||||||
become: yes
|
become: yes
|
||||||
notify: restart nginx
|
notify: restart nginx
|
||||||
|
when: not is_production_vm
|
||||||
|
|
||||||
- name: manage Nginx service
|
- name: manage Nginx service
|
||||||
service:
|
service:
|
||||||
|
@ -7,6 +7,6 @@ cd {{ redmine_root_dir }}
|
|||||||
[[ -s "{{ rvm1_install_path }}/scripts/rvm" ]] && \
|
[[ -s "{{ rvm1_install_path }}/scripts/rvm" ]] && \
|
||||||
source "{{ 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 \
|
eupathdb:fetch_changesets \
|
||||||
RAILS_ENV="production"
|
RAILS_ENV="production"
|
||||||
|
@ -5,7 +5,7 @@ cd {{ redmine_root_dir }}
|
|||||||
[[ -s "{{ rvm1_install_path }}/scripts/rvm" ]] && \
|
[[ -s "{{ rvm1_install_path }}/scripts/rvm" ]] && \
|
||||||
source "{{ 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 \
|
redmine:email:receive_imap \
|
||||||
RAILS_ENV="production" \
|
RAILS_ENV="production" \
|
||||||
project=sysdba \
|
project=sysdba \
|
||||||
|
Loading…
Reference in New Issue
Block a user