mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4fa512406b
* add a loop_control break_when directive to break out of a loop after any item * remove loop var as normal exit would * example usage: - name: generate a random password up to 10 times, until it matches the policy set_fact: password: "{{ lookup('password', '/dev/null', chars=character_set, length=length) }}" loop: "{{ range(0, 10) }}" loop_control: break_when: - password is match(password_policy) Co-authored-by: s-hertel <19572925+s-hertel@users.noreply.github.com> |
3 months ago | |
---|---|---|
.. | ||
_vendor | 1 year ago | |
ansible_test | 1 year ago | |
cli | 4 months ago | |
config | 8 months ago | |
errors | 1 year ago | |
executor | 3 months ago | |
galaxy | 4 months ago | |
inventory | 1 year ago | |
inventory_test_data/group_vars | 10 years ago | |
mock | 8 months ago | |
module_utils | 3 months ago | |
modules | 5 months ago | |
parsing | 4 months ago | |
playbook | 4 months ago | |
plugins | 3 months ago | |
regex | 1 year ago | |
template | 4 months ago | |
utils | 4 months ago | |
vars | 1 year ago | |
__init__.py | 8 years ago | |
requirements.txt | 5 months ago | |
test_context.py | 1 year ago | |
test_no_tty.py | 1 year ago |