[stable-2.7] Fix subversion integration test on Fedora 29. (#51089)

* Fix subversion integration test on Fedora 29.

This upgrades the sqlite-libs and subversion packages to make sure
that the version of sqlite expected by subversion is installed.

* Fix compatibility with RHEL and CentOS.
(cherry picked from commit d4dbc7f2e0)

Co-authored-by: Matt Clay <matt@mystile.com>
This commit is contained in:
Matt Clay 2019-01-18 16:07:17 -08:00
parent 970669b70e
commit 278aa94f1f
2 changed files with 11 additions and 0 deletions

View file

@ -12,6 +12,13 @@
name: '{{ subversion_packages }}'
state: present
- name: upgrade SVN pre-reqs
package:
name: '{{ upgrade_packages }}'
state: latest
when:
- upgrade_packages | default([])
- name: create SVN home folder
file:
path: '{{ subversion_server_dir }}'

View file

@ -2,5 +2,9 @@
subversion_packages:
- mod_dav_svn
- subversion
upgrade_packages:
# prevent sqlite from being out-of-sync with the version subversion was compiled with
- subversion
- sqlite
apache_user: apache
apache_group: apache