Fixes #5227 Corrected doc example of with_first_found

This commit is contained in:
James Tanner 2014-01-06 15:40:11 -05:00
parent ab51bd23a2
commit 5c64d703b9

View file

@ -193,10 +193,10 @@ The following example shows how to template out a configuration file that was ve
- name: template a file
template: src={{ item }} dest=/etc/myapp/foo.conf
with_first_found:
files:
- files:
- {{ ansible_distribution }}.conf
- default.conf
paths:
paths:
- search_location_one/somedir/
- /opt/other_location/somedir/