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:
Evgeni Golov 2020-01-15 20:19:16 +01:00 committed by Sandra McCann
parent d5c5cb5a17
commit ee3dcb4d35

View file

@ -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,