- block:
- name: prepare file copy {{item}}
Template: src=https://bbs.csdn.net/topics/{{item}}. Yaml. J2 dest=/opt/{{item}}. The yaml
With_items:
- service - a
- service - b
- service - c
The cycle of the above yaml file, with_items variable how to obtain directly from the file?