ryanlelek.git-repo

Git Repository

This sets up a Git code repository on your system.

Requirements

  • You need Git installed (you can get it with the ryanlelek.packages role).

Role Variables

  • git_repo_name: Name of the Git repository (default is "gitrepo").
  • git_repo_url: URL of the repository (default is "false").
  • git_repo_ssh_private_key: Private SSH key for accessing the repo (default is "false").
  • git_repo_ssh_public_key: Public SSH key for accessing the repo (default is "false").
  • git_repo_command: Command to run for the Git repo (default is "false").

Dependencies

Optional:

  • ryanlelek.packages

Example Playbook

Here's an example of how to use it:

- hosts: all
  roles:
    - ryanlelek.packages
    - role: ryanlelek.git-repo
      git_repo_name: raneto
      git_repo_url: https://github.com/gilbitron/Raneto.git

License

MIT License

Author Information

Created by Ryan Lelek
Part of AnsibleTutorials.com

Informazioni sul progetto

Clones a Git code repository

Installa
ansible-galaxy install ryanlelek.git-repo
Licenza
mit
Download
777
Proprietario