mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2026-08-08 23:13:19 +02:00
test(molecule): update Vagrant boxes to current releases
- Use published Bento boxes for Ubuntu 26.04, Debian 13, and Rocky Linux 10.1.\n- Pin exact VirtualBox amd64 box versions in CI.\n- Remove the obsolete Ubuntu SSH workaround and update fixtures.
This commit is contained in:
committed by
Techno Tim
parent
2babd39c89
commit
68d03acc68
@@ -5,14 +5,9 @@ driver:
|
||||
name: vagrant
|
||||
platforms:
|
||||
- name: control1
|
||||
box: generic/ubuntu2204
|
||||
box: bento/ubuntu-26.04
|
||||
memory: 4096
|
||||
cpus: 4
|
||||
config_options:
|
||||
# We currently can not use public-key based authentication on Ubuntu 22.04,
|
||||
# see: https://github.com/chef/bento/issues/1405
|
||||
ssh.username: vagrant
|
||||
ssh.password: vagrant
|
||||
groups:
|
||||
- k3s_cluster
|
||||
- master
|
||||
|
||||
@@ -5,14 +5,9 @@ driver:
|
||||
name: vagrant
|
||||
platforms:
|
||||
- name: control1
|
||||
box: generic/ubuntu2204
|
||||
box: bento/ubuntu-26.04
|
||||
memory: 4096
|
||||
cpus: 4
|
||||
config_options:
|
||||
# We currently can not use public-key based authentication on Ubuntu 22.04,
|
||||
# see: https://github.com/chef/bento/issues/1405
|
||||
ssh.username: vagrant
|
||||
ssh.password: vagrant
|
||||
groups:
|
||||
- k3s_cluster
|
||||
- master
|
||||
|
||||
@@ -8,7 +8,7 @@ driver:
|
||||
parallel: false
|
||||
platforms:
|
||||
- name: control1
|
||||
box: generic/ubuntu2204
|
||||
box: bento/ubuntu-26.04
|
||||
memory: 1024
|
||||
cpus: 2
|
||||
groups:
|
||||
@@ -21,14 +21,9 @@ platforms:
|
||||
interfaces:
|
||||
- network_name: private_network
|
||||
ip: 192.168.30.38
|
||||
config_options:
|
||||
# We currently can not use public-key based authentication on Ubuntu 22.04,
|
||||
# see: https://github.com/chef/bento/issues/1405
|
||||
ssh.username: vagrant
|
||||
ssh.password: vagrant
|
||||
|
||||
- name: control2
|
||||
box: generic/debian12
|
||||
box: bento/debian-13
|
||||
memory: 1024
|
||||
cpus: 2
|
||||
groups:
|
||||
@@ -41,7 +36,7 @@ platforms:
|
||||
ip: 192.168.30.39
|
||||
|
||||
- name: control3
|
||||
box: generic/rocky9
|
||||
box: bento/rockylinux-10.1
|
||||
memory: 1024
|
||||
cpus: 2
|
||||
groups:
|
||||
@@ -54,7 +49,7 @@ platforms:
|
||||
ip: 192.168.30.40
|
||||
|
||||
- name: node1
|
||||
box: generic/ubuntu2204
|
||||
box: bento/ubuntu-26.04
|
||||
memory: 1024
|
||||
cpus: 2
|
||||
groups:
|
||||
@@ -65,14 +60,9 @@ platforms:
|
||||
interfaces:
|
||||
- network_name: private_network
|
||||
ip: 192.168.30.41
|
||||
config_options:
|
||||
# We currently can not use public-key based authentication on Ubuntu 22.04,
|
||||
# see: https://github.com/chef/bento/issues/1405
|
||||
ssh.username: vagrant
|
||||
ssh.password: vagrant
|
||||
|
||||
- name: node2
|
||||
box: generic/rocky9
|
||||
box: bento/rockylinux-10.1
|
||||
memory: 1024
|
||||
cpus: 2
|
||||
groups:
|
||||
|
||||
@@ -5,7 +5,7 @@ driver:
|
||||
name: vagrant
|
||||
platforms:
|
||||
- name: control1
|
||||
box: generic/ubuntu2204
|
||||
box: bento/ubuntu-26.04
|
||||
memory: 1024
|
||||
cpus: 2
|
||||
groups:
|
||||
@@ -14,14 +14,9 @@ platforms:
|
||||
interfaces:
|
||||
- network_name: private_network
|
||||
ip: fdad:bad:ba55::de:11
|
||||
config_options:
|
||||
# We currently can not use public-key based authentication on Ubuntu 22.04,
|
||||
# see: https://github.com/chef/bento/issues/1405
|
||||
ssh.username: vagrant
|
||||
ssh.password: vagrant
|
||||
|
||||
- name: control2
|
||||
box: generic/ubuntu2204
|
||||
box: bento/ubuntu-26.04
|
||||
memory: 1024
|
||||
cpus: 2
|
||||
groups:
|
||||
@@ -30,14 +25,9 @@ platforms:
|
||||
interfaces:
|
||||
- network_name: private_network
|
||||
ip: fdad:bad:ba55::de:12
|
||||
config_options:
|
||||
# We currently can not use public-key based authentication on Ubuntu 22.04,
|
||||
# see: https://github.com/chef/bento/issues/1405
|
||||
ssh.username: vagrant
|
||||
ssh.password: vagrant
|
||||
|
||||
- name: node1
|
||||
box: generic/ubuntu2204
|
||||
box: bento/ubuntu-26.04
|
||||
memory: 1024
|
||||
cpus: 2
|
||||
groups:
|
||||
@@ -46,11 +36,6 @@ platforms:
|
||||
interfaces:
|
||||
- network_name: private_network
|
||||
ip: fdad:bad:ba55::de:21
|
||||
config_options:
|
||||
# We currently can not use public-key based authentication on Ubuntu 22.04,
|
||||
# see: https://github.com/chef/bento/issues/1405
|
||||
ssh.username: vagrant
|
||||
ssh.password: vagrant
|
||||
provisioner:
|
||||
name: ansible
|
||||
env:
|
||||
|
||||
@@ -5,14 +5,9 @@ driver:
|
||||
name: vagrant
|
||||
platforms:
|
||||
- name: control1
|
||||
box: generic/ubuntu2204
|
||||
box: bento/ubuntu-26.04
|
||||
memory: 4096
|
||||
cpus: 4
|
||||
config_options:
|
||||
# We currently can not use public-key based authentication on Ubuntu 22.04,
|
||||
# see: https://github.com/chef/bento/issues/1405
|
||||
ssh.username: vagrant
|
||||
ssh.password: vagrant
|
||||
groups:
|
||||
- k3s_cluster
|
||||
- master
|
||||
|
||||
@@ -5,14 +5,9 @@ driver:
|
||||
name: vagrant
|
||||
platforms:
|
||||
- name: control1
|
||||
box: generic/ubuntu2204
|
||||
box: bento/ubuntu-26.04
|
||||
memory: 4096
|
||||
cpus: 4
|
||||
config_options:
|
||||
# We currently can not use public-key based authentication on Ubuntu 22.04,
|
||||
# see: https://github.com/chef/bento/issues/1405
|
||||
ssh.username: vagrant
|
||||
ssh.password: vagrant
|
||||
groups:
|
||||
- k3s_cluster
|
||||
- master
|
||||
|
||||
Reference in New Issue
Block a user