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>
This commit is contained in:
Jorge Rua 2021-01-07 23:34:05 +01:00 committed by GitHub
parent 1b88234a3a
commit 7e769d6dd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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