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:
parent
1b88234a3a
commit
7e769d6dd3
1 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue