mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2024-12-16 07:20:36 +00:00
Fix current issues with vagrant box creation
This commit is contained in:
parent
033002705d
commit
ace78b9c51
@ -15,7 +15,7 @@ remote_scratch_path: /vagrant/scratch
|
||||
nginx_pem: redmine.vm-rsa.pem
|
||||
installer_package_name: installation-package_latest_43921320-9957-4066-9e2c-bfb611968507_2021-03-10.zip
|
||||
installer_package_path: '{{ remote_scratch_path }}/{{ installer_package_name }}'
|
||||
installer_package_url: 'http://software.apidb.org/source/easyredmine/{{ installer_package_name }}'
|
||||
installer_package_url: 'https://software.apidb.org/source/easyredmine/{{ installer_package_name }}'
|
||||
redmine_db_dump_file: '{{ remote_scratch_path }}/redmine_dump.sql.gz'
|
||||
redmine_root_dir: /opt/easyredmine
|
||||
mysql_admin_login: root
|
||||
@ -55,3 +55,10 @@ rvm1_bundler_install: yes
|
||||
rvm1_install_path: '/home/{{ redmine_owner }}/.rvm'
|
||||
rvm1_rvm_check_for_updates: no
|
||||
rvm1_user: '{{ redmine_owner }}'
|
||||
|
||||
# Unprioritize dead key server, see: https://github.com/rvm/rvm1-ansible/issues/228
|
||||
rvm1_gpg_key_servers:
|
||||
- hkp://pgp.mit.edu
|
||||
- hkp://keyserver.pgp.com
|
||||
- '{{ rvm1_gpg_key_server }}'
|
||||
#- hkp://ipv4.pool.sks-keyservers.net
|
||||
|
@ -56,6 +56,7 @@
|
||||
target: '{{ _redmine_db_import_file }}'
|
||||
login_user: '{{ mysql_admin_login }}'
|
||||
login_password: '{{ mysql_admin_password }}'
|
||||
login_unix_socket: '/var/lib/mysql/mysql.sock'
|
||||
become: yes
|
||||
register: redmine_db_import
|
||||
when: do_redmine_db_import == True and (redmine_db_import_done.stat.exists == False or redmine_db_created is changed)
|
||||
|
@ -2,7 +2,13 @@
|
||||
yum:
|
||||
name: ['mysql-devel', 'unzip', 'rubygems', 'ruby-devel', 'libuuid-devel',
|
||||
'zlib-devel', 'openssl-devel', 'gcc-c++', 'ImageMagick-devel',
|
||||
'expect', 'subversion', 'git']
|
||||
'expect', 'subversion', 'git', 'epel-release']
|
||||
become: yes
|
||||
|
||||
- name: install javascript runtime
|
||||
yum:
|
||||
name: 'nodejs'
|
||||
update_cache: yes
|
||||
become: yes
|
||||
|
||||
# these gems are not user_install but the RVM path is for local redmine
|
||||
|
@ -1,6 +1,14 @@
|
||||
|
||||
- import_tasks: addswap.yml
|
||||
|
||||
# Temporary workaround for outdated vagrant box base
|
||||
- name: upgrade all packages
|
||||
yum:
|
||||
name: '*'
|
||||
state: latest
|
||||
update_cache: yes
|
||||
become: yes
|
||||
|
||||
- name: install system tools
|
||||
yum:
|
||||
name: ['rsync', 'strace', 'nmap', 'yum-utils', 'sendmail',
|
||||
|
Loading…
Reference in New Issue
Block a user