- name: Create CI user ansible.builtin.user: name: "{{ ci_user }}" shell: /bin/bash groups: sudo password: "{{ ci_password | password_hash('sha512') }}" - name: Add authorized key ansible.posix.authorized_key: user: "{{ ci_user }}" key: "{{ lookup('file', '../files/ci_user.pub') }}"