diff --git a/packer/debian-bullseye.yaml b/packer/debian-bullseye.yaml index 7e02bc1..aa82551 100644 --- a/packer/debian-bullseye.yaml +++ b/packer/debian-bullseye.yaml @@ -65,6 +65,8 @@ provisioners: - playbook_file: ansible/playbook.yml type: ansible user: root + ansible_env_vars: + - "ANSIBLE_SSH_ARGS='-o HostkeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa'" - inline: - rm /boot && mkdir /boot type: shell