--- - name: Create gitlab-config file: path: "{{ item }}" owner: "{{ gitlab.puid }}" group: "{{ gitlab.pgid }}" mode: '755' state: directory become: yes loop: - "{{ gitlab.paths.config }}" - "{{ gitlab.paths.logs }}" - "{{ gitlab.paths.data }}"