Check Multiple Directory Exists in File Module with state as directory

Hi i am trying to verify/create multiple folder exists in remote. What i’ve now is

  • file: path=“{{download_location}}” state=directory
  • file: path=“{{applications_location}}” state=directory

Is there any way to check muliple folder exists?

or is this preferred mkdir -p dir1 dir2 … ?

- file: path="{{item}}" state=directory
  with_items: