mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Making the switch to v2
This commit is contained in:
10
samples/with_first_found.yml
Normal file
10
samples/with_first_found.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
- hosts: localhost
|
||||
connection: local
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- debug: msg="file is {{item}}"
|
||||
with_first_found:
|
||||
- /etc/foo
|
||||
- /etc/bar
|
||||
- /etc/passwd
|
||||
- /etc/shadow
|
||||
Reference in New Issue
Block a user