---
- hosts: all
  gather_facts: no
  tasks:
    - name: Copy ssh key
      authorized_key:
        user: "{{ ansible_user }}"
        state: present
        key: "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"

Add blitz to add ssh key
Add blitz to add ssh key
