redbeard28.git
ANSIBLE-ROLE-GIT
Ansible role to install Git
How to use this role?
To use this role, you need to include it in a playbook.
Install this Galaxy role using the following command:
ansible-galaxy install -r requirements.yml
In your requirements.yml
, you should have:
# From GitHub, specifying the name and version
- src: git+https://github.com/redbeard28/ansible-role-git.git
version: master
name: git
Or simply:
- src: redbeard28.git
For more details, check the Ansible Docs.
Requirements
- Ansible version 2.9 or higher
Role Variables
---
# No variables needed
Dependencies
- redbeard28.bootstrap
Example Playbook
Here's an example of how to use this role, including how to pass in variables:
- hosts: all
roles:
- { role: redbeard28.git, tags: mytags }
Molecule Testing Framework
You can test this role using Molecule. Run the following commands:
namespace=redbeard28 image=debian tag="buster-basetools" molecule converge
namespace=redbeard28 image=debian tag="buster-basetools" molecule verify
namespace=redbeard28 image=debian tag="buster-basetools" molecule lint
Or simply:
namespace=redbeard28 image=debian tag="buster-basetools" molecule test
Author Information
Jeremie CUADRADO from Redbeard-Consulting (info@redbeard-consulting.fr)
Installa
ansible-galaxy install redbeard28.git
Licenza
Unknown
Download
108
Proprietario