@ -9,7 +9,7 @@
template_options: --release stretch -a amd64
container_command: |
if [ ! -d ~/.ssh ]; then
mkdir ~/.ssh
mkdir /root/.ssh
echo "{{ lookup('file', my_ssh_key) }}" | tee -a /root/.ssh/authorized_keys
systemctl restart sshd
fi