https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_loops.html
On Thu, 25 May 2023 at 03:08, Amit Kulkarni <[email protected]> wrote: > 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 > > > --- > - hosts: dbserver > gather_facts: no > tasks: > - name: Download File from Gitlab > become: yes > get_url: > url: https://github.com/kamitv/devops/blob/master/FileA.txt > url_username: kamitv > url_password: XXXXXXX > dest: /home/ubuntu/ > > Regards > Amit > > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAON3ZR3aUTBpj%3Dba_NWwc%2BAMdSzujFiLCFJZ%2BV%2BiYi731E%3DvUQ%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAON3ZR3aUTBpj%3Dba_NWwc%2BAMdSzujFiLCFJZ%2BV%2BiYi731E%3DvUQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Sent from Gmail Mobile -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAF8BbLY31NSQWW4CCCzYK85prCKdbzVpVU_axgdwHLamwX0jvQ%40mail.gmail.com.
