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
9 # @see https://docs.ansible.com/ansible/latest/collections/community/general/lxd_container_module.html#ansible-collections-community-general-lxd-container-module
10 # @example a container instance with the default image (deb12 amd64)
12 # address: 192.168.1.2
14 # name: ci-node-example
16 # The meta.address is used to fill in the default lxd.config['user.network-config'] value
17 # templated from the cloud_init_netconf.j2 template. Note that this does not change the
18 # configuration inside an already deployed instances. The merged value of lxd is passed
19 # as arguments to community.general.lxd_container task.
21 # When a container/vm is created, the target within the cluster is
22 # determined by the allocation strategy configured for the LXD cluster. The
23 # default is to allocate the instance to the cluster member with the fewest
24 # instances (resource usage not considered).
26 # Once the instances are provisied meta.address and lxd.name are used to update the
27 # DNS records in Samba. @see scripts/update_dns_entry.py.
29 # @example a container created on a specific cluster member
31 # address: 192.168.1.2
33 # name: ci-node-example
34 # # This only affects creation, the container is not moved if it
35 # # already exists in the cluster.
36 # target: ci-host-amd64-1a
38 # @example a virtual machine with the default image
40 # address: 192.168.1.2
42 # name: ci-rootnode-example
43 # type: virtual-machine
47 # @example a VM with an ISO attached as a cdrom
49 # address: 192.168.1.2
51 # name: ci-rootnode-example
52 # type: virtual-machine
55 # # If there are configuration errors, sometimes the state
56 # # will need to be set to stopped to apply any differences.
57 # # Some values, eg. raw.apparmor, cannot be changed while the
58 # # VM or container is online. Note that the image needs to
59 # # be readable as the user 'nobody'.
62 # raw.qemu: '-drive file=/path/to/image.iso,media=cdrom'
63 # raw.apparmor: '/path/to/image.iso rk,'
65 # Console access, assuming the remote 'ci' is connected to the LXD cluster:
66 # lxc console ci:ci-rootnode-example --type vga
67 # Text console (may not have output depending on boot settings)
68 # lxc console ci:ci-rootnode-example
74 name: ci-node-deb12-amd64-01
76 label: 'deb12-amd64 deb12'
80 name: ci-node-deb12-amd64-02
82 label: 'deb12-amd64 deb12'
86 name: ci-node-deb12-amd64-03
88 label: 'deb12-amd64 deb12'
92 name: ci-node-deb12-amd64-04
94 label: 'deb12-amd64 deb12'
98 name: ci-node-deb12-amd64-05
100 label: 'deb12-amd64 deb12'
104 name: ci-node-deb12-amd64-06
106 label: 'deb12-amd64 deb12'
110 name: ci-node-deb12-amd64-07
112 label: 'deb12-amd64 deb12'
116 name: ci-node-deb12-amd64-08
118 label: 'deb12-amd64 deb12'