tried 2 ways:
use submodules, but how do I do checkout?
use git module ansible, but credentials for Source Control and Machine this is a different access. And user for ssh Machine does not have access to the git repository.
tried 2 ways:
use submodules, but how do I do checkout?
use git module ansible, but credentials for Source Control and Machine this is a different access. And user for ssh Machine does not have access to the git repository.
For this, we use curl (on pipeline)
curl --header "your's authent" -s -o "named_file" "https://your's_git/path_of_file/raw"
with ansible, you can use get_url source https://docs.ansible.com/ansible/latest/modules/get_url_module.html