mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-10 19:21:31 -07:00
Fixes #5227 Corrected doc example of with_first_found
This commit is contained in:
parent
ab51bd23a2
commit
5c64d703b9
1 changed files with 2 additions and 2 deletions
|
@ -193,10 +193,10 @@ The following example shows how to template out a configuration file that was ve
|
||||||
- name: template a file
|
- name: template a file
|
||||||
template: src={{ item }} dest=/etc/myapp/foo.conf
|
template: src={{ item }} dest=/etc/myapp/foo.conf
|
||||||
with_first_found:
|
with_first_found:
|
||||||
files:
|
- files:
|
||||||
- {{ ansible_distribution }}.conf
|
- {{ ansible_distribution }}.conf
|
||||||
- default.conf
|
- default.conf
|
||||||
paths:
|
paths:
|
||||||
- search_location_one/somedir/
|
- search_location_one/somedir/
|
||||||
- /opt/other_location/somedir/
|
- /opt/other_location/somedir/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue