Commit 5c64d703 by James Tanner

Fixes #5227 Corrected doc example of with_first_found

parent ab51bd23
...@@ -193,7 +193,7 @@ The following example shows how to template out a configuration file that was ve ...@@ -193,7 +193,7 @@ 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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment