mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix typo in with_first_found doc.
This commit is contained in:
parent
ac18d289aa
commit
0306096fee
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ that matches a given criteria, and some of the filenames are determined by varia
|
||||||
- name: INTERFACES | Create Ansible header for /etc/network/interfaces
|
- name: INTERFACES | Create Ansible header for /etc/network/interfaces
|
||||||
template: src={{ item }} dest=/etc/foo.conf
|
template: src={{ item }} dest=/etc/foo.conf
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ansible_virtualization_type}_foo.conf"
|
- "{{ansible_virtualization_type}}_foo.conf"
|
||||||
- "default_foo.conf"
|
- "default_foo.conf"
|
||||||
|
|
||||||
This tool also has a long form version that allows for configurable search paths. Here's an example::
|
This tool also has a long form version that allows for configurable search paths. Here's an example::
|
||||||
|
|
Loading…
Reference in a new issue