Re: [ansible-project] Download Multiple files from same location but with different names

2023-06-10 Thread Amit Kulkarni
Thanks Todd. Let me try it and shall keep you posted. Regards Amit On Sat, Jun 10, 2023, 9:34 PM Todd Lewis wrote: > No. Lookups happen on the Ansible controller. > > If the file is on the remote host(s), then prior to the task where you > need the data, do an *ansible.builtin.command* task w

Re: [ansible-project] Download Multiple files from same location but with different names

2023-06-10 Thread Todd Lewis
No. Lookups happen on the Ansible controller. If the file is on the remote host(s), then prior to the task where you need the data, do an *ansible.builtin.command* task which `*cat*`s the file and registers the result. Then on the "*Download the patches*" task, say *loop: "{{ **/register

Re: [ansible-project] Download Multiple files from same location but with different names

2023-06-10 Thread Amit Kulkarni
Thanks Todd. If i keep the text file on remote server will the above work?. I can provide the full path for the file in lookup and it will get picked up one by one Regards Amit On Sat, Jun 10, 2023, 7:26 PM Todd Lewis wrote: > I think you're looking for something like this: > > *---**- nam

Re: [ansible-project] Download Multiple files from same location but with different names

2023-06-10 Thread Todd Lewis
I think you're looking for something like this: *---- name: Download the patches for sagehosts: appvars:my_dest: /busdata/qwm/mna1/geodev12/folders/GX/PATCH/my_url: https://raw.gitlabusercontent.michelin.com/na-sc/na-log/wms_nca/wms_na_patch/sagepatch/tasks:- name: Do

Re: [ansible-project] Download Multiple files from same location but with different names

2023-06-10 Thread Amit Kulkarni
Hello All, I am trying to work my way through this playbook, here is what I got so far, appreciate your input and let me know if this is correct.. Problem now is patches.txt will also be in same in repos as the actual files, so I am not sure how to provide the path to that file Appreciate all yo

Re: [ansible-project] Download Multiple files from same location but with different names

2023-06-10 Thread Amit Kulkarni
.Hello All, Can someone please help with below. I need to read the filename from an external file in ansible playbook, if someone has done something like this before please let me know. In the loop there are DAT files which will be changing every time, so I need to keep those in an external file

Re: [ansible-project] how to get in touch with the owners of this list?

2023-06-10 Thread 'Felix Fontein' via Ansible Project
Hi Andrew and Dick, I've created an issue in https://github.com/ansible-community/community-team/issues/242, as the Ansible community team might be the owner, or at least should be able to figure out who actually is. Best, Felix On Sat, 10 Jun 2023 10:01:14 -0600 Andrew Latham wrote: > Maybe

Re: [ansible-project] how to get in touch with the owners of this list?

2023-06-10 Thread Andrew Latham
Maybe try https://github.com/ansible-community/community-topics/issues and note the documented email does not work? On Sat, Jun 10, 2023 at 6:07 AM Dick Visser wrote: > Hii, > > I flagged the recent job advertisements as spam, but also wanted to > contact the owners of this list about that. I di

[ansible-project] how to get in touch with the owners of this list?

2023-06-10 Thread Dick Visser
Hii, I flagged the recent job advertisements as spam, but also wanted to contact the owners of this list about that. I didn't know what address to use, so looking the header in each message: Mailing-list: list ansible-project@googlegroups.com; contact ansible-project+own...@googlegroups.com I us

[ansible-project] JOB | Sysadmin (Singapore or London)

2023-06-10 Thread James Tobin
Hello, I'm working with an employer that is looking to hire someone to be responsible for the modernisation of their on prem environment. There will be lots of VMware and traditional sysadmin work; moving into more of a Kubernetes/ Python/infra-as-code heavy role only once the migration project is