Hi,

I have a situation where I have few servers and there are different
artifacts or rpms are installed. I am getting all data for all servers in a
clubbed list and based on that I am creating files for each server and the
respective rpms data are posted to that file.

So suppose server 1 has 5 rpms and server 2 has 2 rpms and file I will
create it should look like this.
File1:
artifact:
   1:
     artifact_name:
     artifact_version:
   2:
     artifact_name:
     artifact_version:
Similarly till 5 and similarly on the other file there will be two entries
under artifact as 1 & 2.

But on using loop index for file1 i get 5 numbers but for file 2 instead of
starting the number with 1 it starts with 6.

Help on this is really appreciated.

Regards,
Soumya

-- 
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/CAH6PPPtxWF%3DzcEp8p-%3Dyd8TOMkw7YZbm3rj1moHp8GEoVoQMHg%40mail.gmail.com.

Reply via email to