infOpen.git
git
This is a guide to install the git package.
Requirements
To use this, you need Ansible version 2.8 or higher. We list more platform requirements in the metadata file.
Testing
We use Molecule to run tests.
By default, the tests will be run on Docker using local and Github Actions. Check the Molecule documentation if you want to use a different setup.
Right now, we test on:
- CentOS 7
- CentOS 8
- Debian Buster
- Debian Stretch
- Ubuntu Bionic
- Ubuntu Focal
We use:
- Ansible 2.8.x
- Ansible 2.9.x
How to Run Tests
Using Docker
$ tox
You can change Molecule options and commands with environment variables:
MOLECULE_OPTIONS
Default: "--debug"MOLECULE_COMMAND
Default: "test"
$ MOLECULE_OPTIONS='' MOLECULE_COMMAND=converge tox
Role Variables
Default Variables
# Installation settings
git_packages: "{{ _git_packages }}"
git_repository_cache_valid_time: 3600
git_repository_update_cache: True
Debian-Specific Settings
_git_packages:
- name: 'git'
Dependencies
There are no dependencies.
Example Playbook
- hosts: servers
roles:
- { role: infOpen.git }
License
MIT
Author Information
Alexandre Chaussier (from Infopen company)
- Website: https://www.infopen.pro
- Email: a.chaussier [at] infopen.pro
Installa
ansible-galaxy install infOpen.git
Licenza
mit
Download
706
Proprietario
Infopen company