--- - name: Copy bash-configs ansible.builtin.template: src: "files/bash/{{ item }}" dest: "/home/{{ user }}/.{{ item }}" owner: "{{ user }}" group: "{{ user }}" mode: "644" loop: - bashrc - bash_aliases become: true