Need to download Multiple files from Gitlab using Ansible

Hello All,

I need to download multiple files from Gitlab, i am able to download one file using below playbook but I need help to download multiple files from Gitlab. Here is the sample playbook I wanted to read the file names into ansible playbook and download from Gitlab.

Appreciate your help on this

https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_loops.html

Hello Dick,

Thanks for the response, I am able to download the files however its downloading everything (showing all html codes, design code for github webpage etc).

Is there any way to get the contents of the actual file and not the entire page contents.

You are getting what you asked for, because these URLs are the web
pages that describe the file.
If you want the actual files, then you'd need to use the Github raw file URL.
The web page has a special button for that.
In your case the URL would look like:

https://raw.githubusercontent.com/kamitv/devops/master/FileB.txt

etc