Improve support for old versions of Debian

This commit is contained in:
Jérémy Lecour 2023-12-09 14:23:25 +01:00 committed by Jérémy Lecour
parent 5265709704
commit 014bdd2a65
Signed by: jlecour
SSH Key Fingerprint: SHA256:h+5LgHRKwN9lS0SsdVR5yZPeFlJE4Mt+8UtL4CcP8dY
1 changed files with 11 additions and 0 deletions

11
test/Vagrantfile vendored
View File

@ -101,14 +101,23 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
end
end
old_ssh_options = [
"-o HostKeyAlgorithms=+ssh-rsa",
"-o PubkeyAcceptedKeyTypes=+ssh-rsa"
]
# Jessie
config.vm.define :jessie do |node|
node.vm.hostname = "jessie"
node.vm.box = "debian/jessie64"
node.ssh.extra_args = old_ssh_options
node.vm.provision :ansible do |ansible|
ansible.limit = "jessie"
ansible.playbook = "vagrant.yml"
# ansible.tags = "mysql"
ansible.raw_ssh_args = old_ssh_options
ansible.raw_arguments = [
"-b",
"--ask-vault-pass",
@ -124,10 +133,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define :squeeze do |node|
node.vm.hostname = "squeeze"
node.vm.box = "debian/squeeze64"
node.ssh.extra_args = old_ssh_options
node.vm.provision :ansible do |ansible|
ansible.limit = "squeeze"
ansible.playbook = "vagrant.yml"
# ansible.tags = "mysql"
ansible.raw_ssh_args = old_ssh_options
ansible.raw_arguments = [
"-b",
"--ask-vault-pass",