setupRPI.sh 163 Bytes
#!/bin/sh
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