Fix doc for with_first_found

the variables in with_first_found should be list rather than dict
This commit is contained in:
Jeffrey Zhang 2018-01-02 13:55:21 +08:00 committed by Brian Coca
parent 70fd5d4caf
commit e045f46132

View file

@ -37,13 +37,13 @@ EXAMPLES = """
- name: same copy but specific paths
copy: src={{item}} dest=/some/file
with_first_found:
files:
- foo
- "{{inventory_hostname}}
- bar
paths:
- /tmp/production
- /tmp/staging
- files:
- foo
- "{{inventory_hostname}}
- bar
paths:
- /tmp/production
- /tmp/staging
- name: INTERFACES | Create Ansible header for /etc/network/interfaces
template: