test subversion - support Ubuntu 18.04 (#50791)

(cherry picked from commit 91522bd9c4)
pull/50920/head
Jordan Borean 6 years ago committed by Toshio Kuratomi
parent 8cc23c0802
commit 7130ffddf6

@ -1,6 +1,11 @@
--- ---
- name: load OS specific vars - name: load OS specific vars
include_vars: '{{ ansible_os_family }}.yml' include_vars: '{{ item }}'
with_first_found:
- files:
- '{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml'
- '{{ ansible_os_family }}.yml'
paths: '../vars'
- name: install SVN pre-reqs - name: install SVN pre-reqs
package: package:

@ -1,7 +1,10 @@
{% if ansible_os_family == "Debian" %} {% if ansible_os_family == "Debian" %}
{% if ansible_distribution_version == "14.04" %} {# On Ubuntu 16.04 we can include the default config, other versions require explicit config #}
{# Ubuntu 14.04 conflicts with existing port 80 so we can't include the default #} {% if ansible_distribution_version == "16.04" %}
Include /etc/apache2/apache2.conf
{% else %}
Timeout 300 Timeout 300
KeepAlive On KeepAlive On
MaxKeepAliveRequests 100 MaxKeepAliveRequests 100
@ -25,8 +28,6 @@ IncludeOptional sites-enabled/*conf
Require all denied Require all denied
</FilesMatch> </FilesMatch>
{% else %}
Include /etc/apache2/apache2.conf
{% endif %} {% endif %}
{% elif ansible_os_family == "FreeBSD" %} {% elif ansible_os_family == "FreeBSD" %}

@ -0,0 +1,6 @@
---
subversion_packages:
- subversion
- libapache2-mod-svn
apache_user: www-data
apache_group: www-data
Loading…
Cancel
Save