--- - name: Ensure the .ssh folder is present and has the right permissions ansible.builtin.file: path: ~/.ssh mode: 0700 state: directory - name: Ensure the "bryanpedini@bryanbox.home.infra.bjphoster.cloud" key is present ansible.builtin.lineinfile: path: ~/.ssh/authorized_keys mode: 0600 value: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOuad05527ZlLMfVh9fOlDapVBdQ3dEAyoyZfNvoxqBQ bryanpedini@bryanbox.home.infra.bjphoster.cloud state: present create: true - name: Ensure the "bryanpedini@acerlap.home.infra.bjphoster.cloud" key is present ansible.builtin.lineinfile: path: ~/.ssh/authorized_keys mode: 0600 value: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG91LScq6vrfBAKw0fph736ooWTqxsJkC6mK+UOAtmf9 bryanpedini@acerlap.home.infra.bjphoster.cloud state: present create: true - name: Ensure the "bryanpedini@bryanvostro.wimore.it" key is present ansible.builtin.lineinfile: path: ~/.ssh/authorized_keys mode: 0600 value: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMUyzqBkMgVhDLfbegGaBLyWDyd7jNcoXvy1EagYXzDz bryanpedini@bryanvostro.wimore.it state: present create: true