- name: Add infuse user become: true ansible.builtin.user: name: infuse uid: 1001 shell: /usr/sbin/nologin password: $6$PsOR1shOjC3iPF17$RiSD0NjSHNbnfN.cf5xqeLfzR9M4ySq3fnBPQ6Ng/zznALcMdwLbZ.OBft6gXn2F6qf.HxTvo.i4NxwmVdIQE/ - name: Add sftp-config become: true ansible.builtin.copy: src: "{{ item.src }}" dest: /etc/ssh/sshd_config.d/{{ item.src }} mode: "0644" loop: - src: 10-nopassword.conf - src: 11-sftpaccess.conf - src: 99-dropmatch.conf