Ask about "side by side" loop

Hi All

I have question and I’m newbie in ansible…I try to clone multiple vm from template in vmware with each of them have different ip address…Example my script below

Did you consider using a bit of arithmetic instead? Or this is not
flexible enough for you?

E.g. you could do "{{ 100 + item | int }}" (take note you need the "|
int" on item because it's a string). Preferably you'd make the "100" a
parameter instead of leaving it in as magic, of course :slight_smile:

Best regards