Fix ansible provisioner
See: - https://github.com/ansible/ansible/issues/74072 - https://github.com/hashicorp/packer/issues/6379
This commit is contained in:
parent
14f8fbf150
commit
4c630b5860
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ provisioners:
|
|||
type: shell
|
||||
- playbook_file: ansible/playbook.yml
|
||||
type: ansible
|
||||
user: root
|
||||
user: "{{user `ssh_user`}}"
|
||||
ansible_env_vars:
|
||||
- "ANSIBLE_SSH_ARGS='-o HostkeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa'"
|
||||
- "ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue