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:
parent
8ed1f8298a
commit
7366a6fa62
4 changed files with 19 additions and 1 deletions
|
@ -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
7
tasks/main.yml
Normal 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
6
tasks/packages.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- name: install required packages for websvn
|
||||
become: true
|
||||
package:
|
||||
name: "{{ websvn__required_packages }}"
|
||||
state: "{{ websvn__state }}"
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue