1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_role_websvn.git synced 2024-08-16 10:29:49 +02:00

try to resolve some action issues

This commit is contained in:
L3D 2020-08-06 13:46:58 +02:00 committed by L3D
parent 5354f5f650
commit eea51be7ba
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
2 changed files with 11 additions and 0 deletions

View file

@ -10,5 +10,9 @@ websvn__config_src: templates/config.php
websvn__config_parentPath: '/var/svn' # false for disable this option
websvn__manage_config_parentPath: true
websvn__install_optional_packages: true
websvn__optional_packages:
- sudo
# should we do a version check? (recomended)
submodules_versioncheck: false

View file

@ -4,3 +4,10 @@
package:
name: "{{ websvn__required_packages }}"
state: "{{ websvn__state }}"
- name: install optional OS dependencis (primary for testing)
become: true
package:
name: "{{ websvn__optional_packages }}"
state: "{{ websvn__state }}"
when: "{{ websvn__install_optional_packages | bool }}"