I'm trying to imbricate 2 with_item.
At the moment I tried this but it doesn't work:
- name: Create log folder file: dest={{ item.dest }} # item from first with_item state=directory mode=0755 with_items: { dest: "{{ item.path_logs }}/gunicorn" } # item from flask apps { dest: "{{ item.path_logs }}/nginx" } # item from flask apps { dest: "{{ item.path_logs }}/supervisor" } # item from flask apps with_items: "{{ flask_apps }}" Is it possible to do it or should I make 3 tasks ?