- name: Copy files copy: src: "files/{{ item.src }}" dest: "{{ account_homedir.stdout }}/{{ item.dest }}" mode: 0600 owner: "{{ account_name.stdout }}" group: "{{ group_name.stdout }}" loop: - src: chromium-flags.conf dest: .config/chromium-flags.conf