diff --git a/Ansible/inventaire-rasp.ini b/Ansible/inventaire-rasp.ini new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Ansible/inventaire-rasp.ini diff --git a/Ansible/setupRPI.sh b/Ansible/setupRPI.sh new file mode 100755 index 0000000..162b53f --- /dev/null +++ b/Ansible/setupRPI.sh @@ -0,0 +1,2 @@ +#!/bin/sh +ansible -i inventaire-rasp.ini -m authorized_key -a 'user=pi state=present key="{{ lookup("file", "/home/pifou/.ssh/id_rsa.pub") }}"' --user pi --ask-pass --become --ask-become-pass all \ No newline at end of file -- libgit2 0.21.2