Fix example with the backwards counting in the sequence lookup plugin. (#73081)

The old example failed with:
fatal: [localhost]: FAILED! => {"msg": "to count backwards make stride negative"}
I fixed this and placed a start parameter to consolidate with the rest of the examples provided.

Co-authored-by: Jorge Rua <jorua@redhat.com>
pull/72097/merge
Jorge Rua 4 years ago committed by GitHub
parent 1b88234a3a
commit 7e769d6dd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -58,8 +58,9 @@ EXAMPLES = """
with_sequence: count=4
- name: the final countdown
debug: msg={{item}} seconds to detonation
with_sequence: end=0 start=10
debug:
msg: "{{item}} seconds to detonation"
with_sequence: start=10 end=0 stride=-1
- name: Use of variable
debug:

Loading…
Cancel
Save