1
#!/bin/sh
2
ansible -i inventaire-rasp.ini -m authorized_key -a 'user=pi state=present key="{{ lookup("file", "/root/.ssh/id_rsa.pub") }}"' --user pi --ask-pass all