Skip to content

feat: fetch Script git repo on each server

Common scripts should be fetched from https://lab.frogg.it/lydra/scripts, in /usr/local/bin/lydra

    - name: Fetch Scripts git repository
      ansible.builtin.git:
        repo:     "https://bao:{{ git_token_scripts_repo }}@lab.frogg.it/lydra/scripts.git"
        dest:     "{{ local_scripts_dir }}"
        version:  "v1.0.0"

Repository is private, so a project token should be created in https://lab.frogg.it/lydra/scripts/-/settings/access_tokens

Edited by Thomas