- name: Do some mathematics divide multiply
#insert logic here
register: my_content # save logic in register
with_sequence: count={{loopvar}} #I need a loop sequence here
You should be able to achieve this using the following syntax:
“{{ (loopvar|int)**2 }}”