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

Install required packages for websvn

This commit is contained in:
L3D 2020-07-28 12:41:56 +02:00 committed by L3D
parent 8ed1f8298a
commit 7366a6fa62
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
4 changed files with 19 additions and 1 deletions

View file

@ -1,4 +1,6 @@
---
websvn__manage_packages: true
websvn__state: 'present'
# should we do a version check? (recomended)
submodules_versioncheck: false

7
tasks/main.yml Normal file
View file

@ -0,0 +1,7 @@
---
- include_tasks: versioncheck.yml
when: submodules_versioncheck|bool
- include_tasks: packages.yml
when: websvn__manage_packages | bool

6
tasks/packages.yml Normal file
View file

@ -0,0 +1,6 @@
---
- name: install required packages for websvn
become: true
package:
name: "{{ websvn__required_packages }}"
state: "{{ websvn__state }}"

View file

@ -1,4 +1,7 @@
---
websvn__required_packages:
- php-pear
# versionscheck
playbook_version_number: 5 # should be over ninethousand
playbook_version_path: 'role-websvn_roles-ansible_github.com.version'