Improve support for old versions of Debian
This commit is contained in:
parent
5265709704
commit
014bdd2a65
11
test/Vagrantfile
vendored
11
test/Vagrantfile
vendored
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue