mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Starting to move over lookups and fixing some bugs related to that
This commit is contained in:
11
v2/samples/with_items.yml
Normal file
11
v2/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