1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_role_websvn.git synced 2024-07-06 18:28:52 +02:00

update template

This commit is contained in:
L3D 2020-08-06 10:27:34 +02:00 committed by L3D
parent 95d9346356
commit 5354f5f650
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
3 changed files with 9 additions and 2 deletions

View file

@ -8,6 +8,7 @@ websvn__version: 2.5
websvn__config_src: templates/config.php
websvn__config_parentPath: '/var/svn' # false for disable this option
websvn__manage_config_parentPath: true
# should we do a version check? (recomended)
submodules_versioncheck: false

View file

@ -1,3 +1,4 @@
{%- raw -%}
<?php
// WebSVN - Subversion repository viewing via the web using PHP
// Copyright (C) 2004-2006 Tim Armes
@ -115,7 +116,11 @@
// Windows: c:\\svn
//
// $config->parentPath('filesystem path');
{% if websvn__config_parentPath | bool %}$config->parentPath('{{ websvn__config_parentPath }}');{% endif %}
{% endraw %}
{%- if websvn__manage_config_parentPath | bool %}
$config->parentPath('{{ websvn__config_parentPath }}');
{% endif %}
{%- raw %}
// $config->parentPath('filesystem path', 'group');
//
// To exclude a repository from being added by the parentPath method uncomment the next line
@ -499,3 +504,4 @@ $config->expandTabsBy(8);
// $config->expandTabsBy(3, 'myrep'); // Expand Tabs by 3 for repository 'myrep'
// }}}
{%- endraw -%}

View file

@ -13,6 +13,6 @@ websvn__packages:
# versionscheck
playbook_version_number: 13 # should be over ninethousand
playbook_version_number: 14 # should be over ninethousand
playbook_version_path: 'role-websvn_roles-ansible_github.com.version'