https://github.com/darkwizard242/ansible-role-subversion
Ansible role for Subversion Available on Ansible Galaxy.
https://github.com/darkwizard242/ansible-role-subversion
ansible ansible-galaxy ansible-role linux subversion version-control-system
Last synced: 3 months ago
JSON representation
Ansible role for Subversion Available on Ansible Galaxy.
- Host: GitHub
- URL: https://github.com/darkwizard242/ansible-role-subversion
- Owner: darkwizard242
- License: mit
- Created: 2020-01-21T00:28:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-01T22:07:48.000Z (almost 2 years ago)
- Last Synced: 2026-01-03T22:58:01.810Z (6 months ago)
- Topics: ansible, ansible-galaxy, ansible-role, linux, subversion, version-control-system
- Language: Python
- Homepage: https://galaxy.ansible.com/darkwizard242/subversion
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/darkwizard242/ansible-role-subversion/actions?query=workflow%3Abuild-and-test) [](https://github.com/darkwizard242/ansible-role-subversion/actions?query=workflow%3Arelease)  [](https://sonarcloud.io/dashboard?id=ansible-role-subversion) [](https://sonarcloud.io/dashboard?id=ansible-role-subversion) [](https://sonarcloud.io/dashboard?id=ansible-role-subversion)  
# Ansible Role: subversion
Role to install (_by default_) [subversion](https://subversion.apache.org/) package or uninstall (_if passed as var_) on **Debian**, **Ubuntu** and **CentOS** systems.
## Requirements
None.
## Role Variables
Available variables are listed below (located in `defaults/main.yml`):
### Variables list:
```yaml
subversion_app: subversion
subversion_desired_state: present
```
### Variables table:
Variable | Description
------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------
subversion_app | Defines the app to install i.e. **subversion**
subversion_desired_state | Defined to dynamically chose whether to install (i.e. either `present` or `latest`) or uninstall (i.e. `absent`) the package. Defaults to `present`.
## Dependencies
None
## Example Playbook
For default behaviour of role (i.e. installation of **subversion** package) in ansible playbooks.
```yaml
- hosts: servers
roles:
- darkwizard242.subversion
```
For customizing behavior of role (i.e. installation of latest **subversion** package) in ansible playbooks.
```yaml
- hosts: servers
roles:
- darkwizard242.subversion
vars:
subversion_desired_state: latest
```
For customizing behavior of role (i.e. un-installation of **subversion** package) in ansible playbooks.
```yaml
- hosts: servers
roles:
- darkwizard242.subversion
vars:
subversion_desired_state: absent
```
## License
[MIT](https://github.com/darkwizard242/ansible-role-subversion/blob/master/LICENSE)
## Author Information
This role was created by [Ali Muhammad](https://www.alimuhammad.dev/).