use query
instead of q
in "if files exist" example (#66409)
##### SUMMARY It's not obvious that `q` is the same as `query` (which is referred to in the name of the task) and using long-names is generally preferred in examples. ##### ISSUE TYPE - Docs Pull Request +label: docsite_pr
This commit is contained in:
parent
d5c5cb5a17
commit
ee3dcb4d35
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ EXAMPLES = """
|
|||
files:
|
||||
- path/tasks.yaml
|
||||
- path/other_tasks.yaml
|
||||
loop: "{{ q('first_found', params, errors='ignore') }}"
|
||||
loop: "{{ query('first_found', params, errors='ignore') }}"
|
||||
|
||||
- name: |
|
||||
copy first existing file found to /some/file,
|
||||
|
|
Loading…
Reference in a new issue