Fix doc for with_first_found
the variables in with_first_found should be list rather than dict
This commit is contained in:
parent
70fd5d4caf
commit
e045f46132
1 changed files with 7 additions and 7 deletions
|
@ -37,13 +37,13 @@ EXAMPLES = """
|
||||||
- name: same copy but specific paths
|
- name: same copy but specific paths
|
||||||
copy: src={{item}} dest=/some/file
|
copy: src={{item}} dest=/some/file
|
||||||
with_first_found:
|
with_first_found:
|
||||||
files:
|
- files:
|
||||||
- foo
|
- foo
|
||||||
- "{{inventory_hostname}}
|
- "{{inventory_hostname}}
|
||||||
- bar
|
- bar
|
||||||
paths:
|
paths:
|
||||||
- /tmp/production
|
- /tmp/production
|
||||||
- /tmp/staging
|
- /tmp/staging
|
||||||
|
|
||||||
- name: INTERFACES | Create Ansible header for /etc/network/interfaces
|
- name: INTERFACES | Create Ansible header for /etc/network/interfaces
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue