subversion
Ansible Role: subversion
Role to install (by default) subversion 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:
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.
- hosts: servers
roles:
- darkwizard242.subversion
For customizing behavior of role (i.e. installation of latest subversion package) in ansible playbooks.
- 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.
- hosts: servers
roles:
- darkwizard242.subversion
vars:
subversion_desired_state: absent
License
Author Information
This role was created by Ali Muhammad.
About
Role for dynamically installing or uninstalling 'subversion' package.
Install
ansible-galaxy install darkwizard242/ansible-role-subversion
License
mit
Downloads
4133
Owner
Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!