1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2025-09-09 05:59:29 +00:00

Fix current issues with vagrant box creation

This commit is contained in:
2021-12-02 15:21:46 -05:00
parent 033002705d
commit ace78b9c51
4 changed files with 24 additions and 2 deletions

View File

@@ -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)

View File

@@ -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

View File

@@ -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',