mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2024-11-13 23:50:34 +00:00
Compare commits
No commits in common. "033002705d9eb04b3515741a425d3f858c56ad01" and "6899d1321702f6073014f89b7b9399a726bfbc35" have entirely different histories.
033002705d
...
6899d13217
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -22,7 +22,7 @@ Vagrant.configure(2) do |config|
|
|||||||
# end
|
# end
|
||||||
|
|
||||||
config.vm.provision 'deploy', type: 'ansible' do |ansible|
|
config.vm.provision 'deploy', type: 'ansible' do |ansible|
|
||||||
ansible.playbook = 'vagrant-playbook.yml'
|
ansible.playbook = 'playbook.yml'
|
||||||
ansible.galaxy_role_file = 'requirements.yml'
|
ansible.galaxy_role_file = 'requirements.yml'
|
||||||
ansible.galaxy_roles_path = 'roles'
|
ansible.galaxy_roles_path = 'roles'
|
||||||
end
|
end
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
easyredmine_login_bg_img: login-bg-58894778db89f0c55f5aa371eff62b7475325258f4308e9c286f988a37e0e44b.jpg
|
||||||
redmine_mail_alias: redmine@localhost
|
redmine_mail_alias: redmine@localhost
|
||||||
redmine_owner: vagrant
|
redmine_owner: vagrant
|
||||||
redmine_uid: ''
|
redmine_uid: ''
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
- hosts: all
|
- hosts: all
|
||||||
become: yes
|
become: yes
|
||||||
gather_facts: yes
|
gather_facts: yes
|
||||||
|
vars_files:
|
||||||
|
- config.yml
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- { role: rvm.ruby, tags: ruby, become: yes }
|
- { role: rvm.ruby, tags: ruby, become: yes }
|
||||||
|
Binary file not shown.
After Width: | Height: | Size: 57 KiB |
@ -68,7 +68,6 @@
|
|||||||
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:
|
||||||
|
@ -96,6 +96,17 @@
|
|||||||
when: do_redmine_installer == True
|
when: do_redmine_installer == True
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
|
- name: install custom login background image
|
||||||
|
copy:
|
||||||
|
dest: '{{ item }}'
|
||||||
|
src: '{{ easyredmine_login_bg_img }}'
|
||||||
|
owner: '{{ redmine_owner }}'
|
||||||
|
with_items:
|
||||||
|
- '{{ redmine_root_dir }}/public/plugin_assets/easy_extensions/images/login-bg.jpg'
|
||||||
|
- '{{ redmine_root_dir }}/public/assets/{{ easyredmine_login_bg_img }}'
|
||||||
|
when: do_redmine_installer == True
|
||||||
|
become: yes
|
||||||
|
|
||||||
- name: create maintenance dir
|
- name: create maintenance dir
|
||||||
file:
|
file:
|
||||||
path: '/usr/share/nginx/html/easyredmine'
|
path: '/usr/share/nginx/html/easyredmine'
|
||||||
|
@ -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 }}/rubies/ruby-{{ ruby_version }}/bin/bundle exec rake \
|
{{ rvm1_install_path }}/gems/ruby-{{ ruby_version }}/bin/bundle exec rake \
|
||||||
eupathdb:fetch_changesets \
|
eupathdb:fetch_changesets \
|
||||||
RAILS_ENV="production"
|
RAILS_ENV="production"
|
||||||
|
@ -5,11 +5,11 @@ 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 }}/rubies/ruby-{{ ruby_version }}/bin/bundle exec rake \
|
{{ rvm1_install_path }}/gems/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 \
|
||||||
allow_override=project,assigned_to,tracker,priority,category,status,"VEuPathDB Team","Type of support","Component DB","Support source" \
|
allow_override=project,assigned_to,tracker,priority,category,status \
|
||||||
host=imap.gmail.com \
|
host=imap.gmail.com \
|
||||||
port=993 ssl=SSL \
|
port=993 ssl=SSL \
|
||||||
username={{ smtp_username }} \
|
username={{ smtp_username }} \
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: all
|
|
||||||
become: yes
|
|
||||||
gather_facts: yes
|
|
||||||
vars_files:
|
|
||||||
- config.yml
|
|
||||||
|
|
||||||
roles:
|
|
||||||
- { role: rvm.ruby, tags: ruby, become: yes }
|
|
||||||
- { role: rvm.ruby.patch, tags: ruby, become: yes }
|
|
||||||
- { role: easyredmine, become: no }
|
|
||||||
|
|
||||||
tasks:
|
|
Loading…
Reference in New Issue
Block a user