On 20.03.2019 15:30, Jakub Kafka wrote:
> i have question. Can i specify number of loops from command line
> --extra_vars? II want specify number of password to be generated.

Of course, with variables you can do almost everyting.

  - debug: var=item
    with_sequence: end={{ number }}


ansible-playbook -e number=3


-- 
Kai Stian Olstad

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/472745bd-a3f4-309b-458c-531b4cab12af%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to