I think this would be your syntax:
- name: setup directory permissions
file:
path: "{{ item.path }}"
state: "{{ item.state }}"
mode: "{{ item.mode }}"
owner: "{{ item.owner }}"
group: "{{ item.group }}"
with_items:
- { path: "/data/gong", state: "directory", mode: '2775', owner: "conductor", group: "pipe" }
- { path: "/data/gong/pipe", state: "directory", mode: '0775', owner: "conductor", group: "pipe" }
- { path: "/data/gong/pipe/conductor", state: "directory", mode: '0755', owner: "conductor", group: "pipe" }
- { path: "/opt/db", state: "directory", mode: '0775', owner: "conductor", group: "pipe" }
- { path: "/iraf", state: "directory", mode: '0775', owner: "gong", group: "pipe" }
- { path: "/local", state: "directory", mode: '0775', owner: "gong", group: "pipe" }
- { path: "/data/ftps_in", state: "directory", mode: '0775', owner: "conductor", group: "pipe" }
- { path: "/localpipe", state: "directory", mode: '0775', owner: "conductor", group: "pipe" }
- { path: "/var/log/local0.log", state: "touch", mode: '0664', owner: 'root', group: "pipe" }
- { path: "/chroot/files/idl", state: "directory", mode: '0775', owner: 'root', group: "root" }