--- - name: Create traefik-config directory file: path: "{{ item }}" owner: "{{ puid }}" group: "{{ pgid }}" state: directory loop: - "{{ docker_dir }}/traefik/etc-traefik/" - "{{ docker_dir }}/traefik/var-log/"