darkwizard242.git
Ansible Role: git
This role helps you install (by default) the git package or uninstall it (if specified) on Debian, Ubuntu, and CentOS systems.
Requirements
None.
Role Variables
You can find the available variables below (in defaults/main.yml):
Variables list:
git_app: git
git_desired_state: present
Variables table:
| Variable | Description | 
|---|---|
| git_app | Specifies the app to install, which is git. | 
| git_desired_state | Used to choose whether to install (with options presentorlatest) or uninstall (with optionabsent) the package. Defaults topresent. | 
Dependencies
None.
Example Playbook
To use the default behavior of this role (i.e., installing the git package) in your ansible playbooks:
- hosts: servers
  roles:
    - darkwizard242.git
To customize the role behavior (for installing the latest git package) in your ansible playbooks:
- hosts: servers
  roles:
    - darkwizard242.git
  vars:
    git_desired_state: latest
To customize the role behavior (for uninstalling the git package) in your ansible playbooks:
- hosts: servers
  roles:
    - darkwizard242.git
  vars:
    git_desired_state: absent
License
Author Information
This role was created by Ali Muhammad.
Informazioni sul progetto
 Role for dynamically installing or uninstalling 'git' package.
Installa
 ansible-galaxy install darkwizard242.gitLicenza
 
            mit
          
Download
 
            6k
          
Proprietario
 Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!
