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
pull/66509/head
Evgeni Golov 4 years ago committed by Sandra McCann
parent d5c5cb5a17
commit ee3dcb4d35

@ -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…
Cancel
Save