diff --git a/defaults/main.yml b/defaults/main.yml index f596ba3..a6a7776 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/templates/config.php b/templates/config.php index d2884c9..c0840e7 100644 --- a/templates/config.php +++ b/templates/config.php @@ -1,3 +1,4 @@ +{%- raw -%} 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 -%} diff --git a/vars/main.yml b/vars/main.yml index 7904f8c..06bb46c 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -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'