2 # The search domain for instance names
3 search_domain: internal.efficios.com
4 # Which DNS server to use for checks + updates
5 name_server: smb-adc02.internal.efficios.com
6 # The host to use for delegating lxd commands
7 lxd_host: ci-host-amd64-1a.internal.efficios.com
8 # Default host to create libvirt VMs on if not specified
9 libvirt_host: ci-host-amd64-1b.internal.efficios.com
11 # @see https://docs.ansible.com/ansible/latest/collections/community/general/lxd_container_module.html#ansible-collections-community-general-lxd-container-module
12 # @example a container instance with the default image (deb12 amd64)
14 # address: 192.168.1.2
16 # name: ci-node-example
18 # The meta.address is used to fill in the default lxd.config['user.network-config'] value
19 # templated from the cloud_init_netconf.j2 template. Note that this does not change the
20 # configuration inside an already deployed instances. The merged value of lxd is passed
21 # as arguments to community.general.lxd_container task.
23 # When a container/vm is created, the target within the cluster is
24 # determined by the allocation strategy configured for the LXD cluster. The
25 # default is to allocate the instance to the cluster member with the fewest
26 # instances (resource usage not considered).
28 # Once the instances are provisied meta.address and lxd.name are used to update the
29 # DNS records in Samba. @see scripts/update_dns_entry.py.
31 # @example a container created on a specific cluster member
33 # address: 192.168.1.2
35 # name: ci-node-example
36 # # This only affects creation, the container is not moved if it
37 # # already exists in the cluster.
38 # target: ci-host-amd64-1a
40 # @example a virtual machine with the default image
42 # address: 192.168.1.2
44 # name: ci-rootnode-example
45 # type: virtual-machine
49 # @example a VM with an ISO attached as a cdrom
51 # address: 192.168.1.2
53 # name: ci-rootnode-example
54 # type: virtual-machine
57 # # If there are configuration errors, sometimes the state
58 # # will need to be set to stopped to apply any differences.
59 # # Some values, eg. raw.apparmor, cannot be changed while the
60 # # VM or container is online. Note that the image needs to
61 # # be readable as the user 'nobody'.
64 # raw.qemu: '-drive file=/path/to/image.iso,media=cdrom'
65 # raw.apparmor: '/path/to/image.iso rk,'
67 # Console access, assuming the remote 'ci' is connected to the LXD cluster:
68 # lxc console ci:ci-rootnode-example --type vga
69 # Text console (may not have output depending on boot settings)
70 # lxc console ci:ci-rootnode-example
72 # @example Define a VM using libvirt
74 # # host: 'ci-host-example'
75 # name: 'ci-rootnode-example'
76 # disk: '/path/to/disk'
78 # @note libvirt VMs are created using the task roles/libvirt/vm.yml.
79 # If `vm.host` not specified, then the host will default to the one defined
82 # @note: `meta.address` doesn't set any additional information for libvirt VMs.
88 name: ci-node-deb12-amd64-01
90 label: 'deb12-amd64 deb12'
95 name: ci-node-deb12-amd64-02
97 label: 'deb12-amd64 deb12'
102 name: ci-node-deb12-amd64-03
104 label: 'deb12-amd64 deb12'
109 name: ci-node-deb12-amd64-04
111 label: 'deb12-amd64 deb12'
116 name: ci-node-deb12-amd64-05
118 label: 'deb12-amd64 deb12'
123 name: ci-node-deb12-amd64-06
125 label: 'deb12-amd64 deb12'
130 name: ci-node-deb12-amd64-07
132 label: 'deb12-amd64 deb12'
137 name: ci-node-deb12-amd64-08
139 label: 'deb12-amd64 deb12'
141 # "Root" nodes in libvirt, since Jenkins can use the "libvirt agents" plugin
142 # to revert to a specific snapshot before running a job
144 # @NOTE: For Jenkins, the node configuration was initially created by cloning
145 # or creating the nodes as they use a type of node which isn't 'simple' to
146 # create through the API. The entire XML configuration would have to be written
147 # from scratch. In effect, templates may be a better long term solution than
148 # the current structure.
151 name: 'ci-rootnode-deb12-amd64-1a-01'
152 label: 'deb12 deb12-amd64-rootnode'
156 launcher/hypervisorDescription: 'QEMU+ssh - ci-host-amd64-1a.internal.efficios.com'
157 launcher/virtualMachineName: 'ci-rootnode-deb12-amd64-1a-01'
158 launcher/delegate: 'hudson.plugins.sshslaves.SSHLauncher=class'
159 launcher/delegate/port: '22'
160 launcher/delegate/host: 'ci-rootnode-deb12-amd64-1a-01.internal.efficios.com'
161 launcher/delegate/credentialsId: 'bb5a81cf-346b-43fc-8586-3dc5e43801be'
162 ./hypervisorDescription: 'QEMU+ssh - ci-host-amd64-1a.internal.efficios.com'
163 ./virtualMachineName: 'ci-rootnode-deb12-amd64-1a-01'
165 beforeJobSnapshotName: 'base-configuration'
166 startupWaitingPeriodSeconds: '20'
167 launcher/waitTimeMs: '20000'
168 shutdownMethod: 'destroy'
170 name: 'ci-rootnode-deb12-amd64-1a-01'
171 disk: '/var/lib/libvirt/images/ci-rootnode-deb12-amd64-1a-01.qcow'
172 host: 'ci-host-amd64-1a.internal.efficios.com'
176 name: 'ci-rootnode-deb12-i386-1a-01'
177 label: 'deb12 deb12-i386-rootnode'
181 launcher/hypervisorDescription: 'QEMU+ssh - ci-host-amd64-1a.internal.efficios.com'
182 launcher/virtualMachineName: 'ci-rootnode-deb12-i386-1a-01'
183 launcher/delegate: 'hudson.plugins.sshslaves.SSHLauncher=class'
184 launcher/delegate/port: '22'
185 launcher/delegate/host: 'ci-rootnode-deb12-amd64-1a-01.internal.efficios.com'
186 launcher/delegate/credentialsId: 'bb5a81cf-346b-43fc-8586-3dc5e43801be'
187 ./hypervisorDescription: 'QEMU+ssh - ci-host-amd64-1a.internal.efficios.com'
188 ./virtualMachineName: 'ci-rootnode-deb12-i386-1a-01'
190 beforeJobSnapshotName: 'base-configuration'
191 startupWaitingPeriodSeconds: '20'
192 launcher/waitTimeMs: '20000'
193 shutdownMethod: 'destroy'
195 name: 'ci-rootnode-deb12-i386-1a-01'
196 disk: '/var/lib/libvirt/images/ci-rootnode-deb12-i386-1a-01.qcow'
197 host: 'ci-host-amd64-1a.internal.efficios.com'
201 label: 'deb12 deb12-amd64-rootnode'
202 name: 'ci-rootnode-deb12-amd64-1b-01'
206 launcher/hypervisorDescription: 'QEMU+ssh - ci-host-amd64-1b.internal.efficios.com'
207 launcher/virtualMachineName: 'ci-rootnode-deb12-amd64-1b-01'
208 launcher/delegate: 'hudson.plugins.sshslaves.SSHLauncher=class'
209 launcher/delegate/port: '22'
210 launcher/delegate/host: 'ci-rootnode-deb12-amd64-1a-01.internal.efficios.com'
211 launcher/delegate/credentialsId: 'bb5a81cf-346b-43fc-8586-3dc5e43801be'
212 ./hypervisorDescription: 'QEMU+ssh - ci-host-amd64-1b.internal.efficios.com'
213 ./virtualMachineName: 'ci-rootnode-deb12-amd64-1b-01'
215 beforeJobSnapshotName: 'base-configuration'
216 startupWaitingPeriodSeconds: '20'
217 launcher/waitTimeMs: '20000'
218 shutdownMethod: 'destroy'
220 name: 'ci-rootnode-deb12-amd64-1b-01'
221 disk: '/var/lib/libvirt/images/ci-rootnode-deb12-amd64-1b-01.qcow'
222 host: 'ci-host-amd64-1b.internal.efficios.com'
226 label: 'deb12 deb12-amd64-rootnode'
227 name: 'ci-rootnode-deb12-amd64-1c-01'
231 launcher/hypervisorDescription: 'QEMU+ssh - ci-host-amd64-1c.internal.efficios.com'
232 launcher/virtualMachineName: 'ci-rootnode-deb12-amd64-1c-01'
233 launcher/delegate: 'hudson.plugins.sshslaves.SSHLauncher=class'
234 launcher/delegate/port: '22'
235 launcher/delegate/host: 'ci-rootnode-deb12-amd64-1a-01.internal.efficios.com'
236 launcher/delegate/credentialsId: 'bb5a81cf-346b-43fc-8586-3dc5e43801be'
238 beforeJobSnapshotName: 'base-configuration'
239 startupWaitingPeriodSeconds: '20'
240 launcher/waitTimeMs: '20000'
241 shutdownMethod: 'destroy'
243 name: 'ci-rootnode-deb12-amd64-1c-01'
244 disk: '/var/lib/libvirt/images/ci-rootnode-deb12-amd64-1c-01.qcow'
245 host: 'ci-host-amd64-1c.internal.efficios.com'
249 label: 'deb12 deb12-amd64-rootnode'
250 name: 'ci-rootnode-deb12-amd64-1d-01'
253 launcher/hypervisorDescription: 'QEMU+ssh - ci-host-amd64-1d.internal.efficios.com'
254 launcher/virtualMachineName: 'ci-rootnode-deb12-amd64-1d-01'
255 launcher/delegate: 'hudson.plugins.sshslaves.SSHLauncher=class'
256 launcher/delegate/port: '22'
257 launcher/delegate/host: 'ci-rootnode-deb12-amd64-1a-01.internal.efficios.com'
258 launcher/delegate/credentialsId: 'bb5a81cf-346b-43fc-8586-3dc5e43801be'
259 ./hypervisorDescription: 'QEMU+ssh - ci-host-amd64-1d.internal.efficios.com'
260 ./virtualMachineName: 'ci-rootnode-deb12-amd64-1d-01'
262 beforeJobSnapshotName: 'base-configuration'
263 startupWaitingPeriodSeconds: '20'
264 launcher/waitTimeMs: '20000'
265 shutdownMethod: 'destroy'
267 name: 'ci-rootnode-deb12-amd64-1d-01'
268 disk: '/var/lib/libvirt/images/ci-rootnode-deb12-amd64-1d-01.qcow'
269 host: 'ci-host-amd64-1d.internal.efficios.com'
273 label: 'deb12 deb12-amd64-rootnode'
274 name: 'ci-rootnode-deb12-amd64-2a-01'
278 launcher/hypervisorDescription: 'QEMU+ssh - ci-host-amd64-2a.internal.efficios.com'
279 launcher/virtualMachineName: 'ci-rootnode-deb12-amd64-2a-01'
280 launcher/delegate: 'hudson.plugins.sshslaves.SSHLauncher=class'
281 launcher/delegate/port: '22'
282 launcher/delegate/host: 'ci-rootnode-deb12-amd64-1a-01.internal.efficios.com'
283 launcher/delegate/credentialsId: 'bb5a81cf-346b-43fc-8586-3dc5e43801be'
284 ./hypervisorDescription: 'QEMU+ssh - ci-host-amd64-2a.internal.efficios.com'
285 ./virtualMachineName: 'ci-rootnode-deb12-amd64-2a-01'
287 beforeJobSnapshotName: 'base-configuration'
288 startupWaitingPeriodSeconds: '20'
289 shutdownMethod: 'destroy'
291 name: 'ci-rootnode-deb12-amd64-2a-01'
292 disk: '/var/lib/libvirt/images/ci-rootnode-deb12-amd64-2a-01.qcow'
293 host: 'ci-host-amd64-2a.internal.efficios.com'
297 label: 'deb12 deb12-amd64-rootnode'
298 name: 'ci-rootnode-deb12-amd64-2b-01'
302 launcher/hypervisorDescription: 'QEMU+ssh - ci-host-amd64-2b.internal.efficios.com'
303 launcher/virtualMachineName: 'ci-rootnode-deb12-amd64-2b-01'
304 launcher/delegate: 'hudson.plugins.sshslaves.SSHLauncher=class'
305 launcher/delegate/port: '22'
306 launcher/delegate/host: 'ci-rootnode-deb12-amd64-1a-01.internal.efficios.com'
307 launcher/delegate/credentialsId: 'bb5a81cf-346b-43fc-8586-3dc5e43801be'
308 ./hypervisorDescription: 'QEMU+ssh - ci-host-amd64-2b.internal.efficios.com'
309 ./virtualMachineName: 'ci-rootnode-deb12-amd64-2b-01'
311 beforeJobSnapshotName: 'base-configuration'
312 startupWaitingPeriodSeconds: '20'
313 launcher/waitTimeMs: '20000'
314 shutdownMethod: 'destroy'
316 name: 'ci-rootnode-deb12-amd64-2b-01'
317 disk: '/var/lib/libvirt/images/ci-rootnode-deb12-amd64-2b-01.qcow'
318 host: 'ci-host-amd64-2b.internal.efficios.com'
322 label: 'deb12 deb12-amd64-rootnode'
323 name: 'ci-rootnode-deb12-amd64-2c-01'
327 launcher/hypervisorDescription: 'QEMU+ssh - ci-host-amd64-2c.internal.efficios.com'
328 launcher/virtualMachineName: 'ci-rootnode-deb12-amd64-2c-01'
329 launcher/delegate: 'hudson.plugins.sshslaves.SSHLauncher=class'
330 launcher/delegate/port: '22'
331 launcher/delegate/host: 'ci-rootnode-deb12-amd64-1a-01.internal.efficios.com'
332 launcher/delegate/credentialsId: 'bb5a81cf-346b-43fc-8586-3dc5e43801be'
333 ./hypervisorDescription: 'QEMU+ssh - ci-host-amd64-2c.internal.efficios.com'
334 ./virtualMachineName: 'ci-rootnode-deb12-amd64-2c-01'
336 beforeJobSnapshotName: 'base-configuration'
337 startupWaitingPeriodSeconds: '20'
338 launcher/waitTimeMs: '20000'
339 shutdownMethod: 'destroy'
341 name: 'ci-rootnode-deb12-amd64-2c-01'
342 disk: '/var/lib/libvirt/images/ci-rootnode-deb12-amd64-2c-01.qcow'
343 host: 'ci-host-amd64-2c.internal.efficios.com'
347 label: 'deb12 deb12-amd64-rootnode'
348 name: 'ci-rootnode-deb12-amd64-2d-01'
352 launcher/hypervisorDescription: 'QEMU+ssh - ci-host-amd64-2d.internal.efficios.com'
353 launcher/virtualMachineName: 'ci-rootnode-deb12-amd64-2d-01'
354 launcher/delegate: 'hudson.plugins.sshslaves.SSHLauncher=class'
355 launcher/delegate/port: '22'
356 launcher/delegate/host: 'ci-rootnode-deb12-amd64-1a-01.internal.efficios.com'
357 launcher/delegate/credentialsId: 'bb5a81cf-346b-43fc-8586-3dc5e43801be'
358 ./hypervisorDescription: 'QEMU+ssh - ci-host-amd64-2d.internal.efficios.com'
359 ./virtualMachineName: 'ci-rootnode-deb12-amd64-2d-01'
361 beforeJobSnapshotName: 'base-configuration'
362 startupWaitingPeriodSeconds: '20'
363 launcher/waitTimeMs: '20000'
364 shutdownMethod: 'destroy'
366 name: 'ci-rootnode-deb12-amd64-2d-01'
367 disk: '/var/lib/libvirt/images/ci-rootnode-deb12-amd64-2d-01.qcow'
368 host: 'ci-host-amd64-2d.internal.efficios.com'