mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Making the switch to v2
This commit is contained in:
11
samples/with_items.yml
Normal file
11
samples/with_items.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- hosts: localhost
|
||||
connection: local
|
||||
vars:
|
||||
my_list:
|
||||
- a
|
||||
- b
|
||||
- c
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- debug: msg="item is {{item}}"
|
||||
with_items: my_list
|
||||
Reference in New Issue
Block a user