redbeard28.git

ANSIBLE-ROLE-GIT

Rola Ansible do instalacji Git

Jak korzystać z tej roli?

Ta rola musi być włączona do playbooka.

Wywołaj tę rolę Galaxy w ten sposób:

ansible-galaxy install -r requirements.yml 

W pliku requirements.yml

# z GitHub, nadpisując nazwę i wskazując konkretny tag
- src: git+https://github.com/redbeard28/ansible-role-git.git
  version: master
  name: git

lub

- src: redbeard28.git

Więcej informacji => Dokumentacja Ansible

Wymagania

  • Ansible 2.9+

Zmienne roli

---
# brak

Zależności

  • redbeard28.bootstrap

Przykładowy Playbook

Dobrze jest również dołączyć przykład użycia roli (na przykład z przekazywanymi zmiennymi jako parametry):

- hosts: all
  roles:
     - { role: redbeard28.git, tags: mytags }

Framework testowy Molecule

Możesz użyć Molecule do przetestowania tej roli.

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 

lub

namespace=redbeard28 image=debian tag="buster-basetools" molecule test 

Informacje o autorze

Jeremie CUADRADO¹ z Redbeard-Consulting

O projekcie

Ansible role install Git.

Zainstaluj
ansible-galaxy install redbeard28.git
Licencja
Unknown
Pobrania
108
Właściciel