diff options
author | Jonathan Bauer | 2022-03-25 15:46:40 +0100 |
---|---|---|
committer | Jonathan Bauer | 2022-03-25 15:46:40 +0100 |
commit | 3fb4464769ffacd83575b2a76e9090f60b3d77d8 (patch) | |
tree | b79064b0c11e558fccc57553d1d3d1f0e6e99069 | |
parent | do not use backing file for now (diff) | |
download | packer-templates-3fb4464769ffacd83575b2a76e9090f60b3d77d8.tar.gz packer-templates-3fb4464769ffacd83575b2a76e9090f60b3d77d8.tar.xz packer-templates-3fb4464769ffacd83575b2a76e9090f60b3d77d8.zip |
include ssh-rsa as key algo for ansible
-rw-r--r-- | ansible-provisioner.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ansible-provisioner.json b/ansible-provisioner.json index 2a01b40..45cf496 100644 --- a/ansible-provisioner.json +++ b/ansible-provisioner.json @@ -46,6 +46,9 @@ "provisioners": [{ "type": "ansible", "playbook_file": "{{ user `playbook` }}", - "extra_arguments": "{{ user `extra_ansible_args` }}" + "extra_arguments": "{{ user `extra_ansible_args` }}", + "ansible_ssh_extra_args": [ + "-oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedKeyTypes=+ssh-rsa" + ] }] } |