Compare commits
2 commits
4f67259648
...
014bdd2a65
Author | SHA1 | Date | |
---|---|---|---|
Jérémy Lecour | 014bdd2a65 | ||
Jérémy Lecour | 5265709704 |
33
test/Vagrantfile
vendored
33
test/Vagrantfile
vendored
|
@ -19,6 +19,28 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
libvirt.cpus = 1
|
||||
end
|
||||
|
||||
# Bookworm
|
||||
config.vm.define :bookworm do |node|
|
||||
node.vm.hostname = "bookworm.evolix.net"
|
||||
node.vm.box = "debian/bookworm64"
|
||||
node.vm.provision :ansible do |ansible|
|
||||
ansible.limit = "bookworm"
|
||||
ansible.playbook = "vagrant.yml"
|
||||
# ansible.tags = "mysql"
|
||||
ansible.raw_arguments = [
|
||||
"-b",
|
||||
"--ask-vault-pass",
|
||||
# "--diff",
|
||||
# "--step",
|
||||
# "--syntax",
|
||||
# "-vvv",
|
||||
]
|
||||
ansible.extra_vars = {
|
||||
ansible_python_interpreter: "/usr/bin/python3"
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
# Bullseye
|
||||
config.vm.define :bullseye do |node|
|
||||
node.vm.hostname = "bullseye.evolix.net"
|
||||
|
@ -79,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",
|
||||
|
@ -102,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