Files
Ansible-Build/roles/git/README.md
T
2024-10-25 16:06:19 +02:00

470 B

Git role

Checkout Git repositories.

Usage

Configure the role.

git_repositories:
  - repo: https://github.com/Digital-Cluster-Uri/Website
    dest: /usr/share/nginx01/static
    version: main
  - repo: git@github.com:sozialinfo/reference-data.git
    key_file: /home/sozialinfo-git-bot/.ssh/id_ed25519
    dest: /usr/share/postgres43/reference-data
    version: main

Include the role in your playbook.

- hosts: git
  roles:
  - role: git