- name: Create directory structure
hosts: newserver
tasks:
- name: Directory structure
win_file: path="{{ item }}" state=directory
with_file:
- first_example_file
Above is the ansible script I'm using to create directory, path to the new directory is given in the file 'first_example_file'. How should we pass multiple values in the file (i.e. when we have to create multiple directories, what is the format of tje file?)