ansible-hypervisor merge requestshttps://git.callpipe.com/entanglement.garden/ansible-hypervisor/-/merge_requests2021-07-22T04:40:53Zhttps://git.callpipe.com/entanglement.garden/ansible-hypervisor/-/merge_requests/6optionally provision additional runners2021-07-22T04:40:53ZFinnfinn@janky.solutionsoptionally provision additional runnersNOTE: Must provide a RUNNER token, not the REGISTRATION token shown on the gitlab
runner webpage. To get a runner token from a registration token:
```
$ curl -d "token=$REGISTRATION_TOKEN" https://gitlab.com/api/v4/runners
```
Use by c...NOTE: Must provide a RUNNER token, not the REGISTRATION token shown on the gitlab
runner webpage. To get a runner token from a registration token:
```
$ curl -d "token=$REGISTRATION_TOKEN" https://gitlab.com/api/v4/runners
```
Use by creating or editing `/etc/ansible/facts.d/additional_gitlab_runners.fact`:
```json
{
"runners": [
{
"domain": "gitlab.com", // optional, defaults to the domain configured in gitlab_runner.fact
"token": "RUNNER token",
"name": "signald" // this is to tell the different runners on this machine apart. It should be the name of the gitlab project.
}
]
}
```https://git.callpipe.com/entanglement.garden/ansible-hypervisor/-/merge_requests/5Enable nested kvm2020-05-12T00:00:12ZDevanEnable nested kvmset kernel module config to enable nested virt via kvm. will trigger reboot after enabling.set kernel module config to enable nested virt via kvm. will trigger reboot after enabling.https://git.callpipe.com/entanglement.garden/ansible-hypervisor/-/merge_requests/4gitlab-runner: source gitlab server domain from ansible fact2020-05-11T19:52:00ZDevangitlab-runner: source gitlab server domain from ansible factserver was previously hardcoded to callpipe. this MR makes ansible
look for the domain name of the server in your ansible facts.server was previously hardcoded to callpipe. this MR makes ansible
look for the domain name of the server in your ansible facts.Finnfinn@janky.solutionsFinnfinn@janky.solutionshttps://git.callpipe.com/entanglement.garden/ansible-hypervisor/-/merge_requests/3Deploy rhyzome automatically2019-11-20T21:51:25ZFinnfinn@janky.solutionsDeploy rhyzome automaticallyhttps://git.callpipe.com/entanglement.garden/ansible-hypervisor/-/merge_requests/2Optional GitLab Runner2019-10-02T07:00:41ZFinnfinn@janky.solutionsOptional GitLab RunnerCreates a GitLab runner on each hypervisor that has a registration token. Runner uses libvirt to spin up VMs to run the jobs in, with the base image `/var/lib/libvirt/images/gitlab-runner-base.qcow2`. I've been manually putting a debian-...Creates a GitLab runner on each hypervisor that has a registration token. Runner uses libvirt to spin up VMs to run the jobs in, with the base image `/var/lib/libvirt/images/gitlab-runner-base.qcow2`. I've been manually putting a debian-based runner image there. Guest must have the qemu guest agent, and accept SSH connections for user `debian` with the SSH key provided in the cloud config.https://git.callpipe.com/entanglement.garden/ansible-hypervisor/-/merge_requests/1Fix Gateway VM bootstrap process2019-09-26T20:54:50ZFinnfinn@janky.solutionsFix Gateway VM bootstrap processThe VM bootstrapping process relies on the VM being bootstrapped having a DHCP server on it's various NICs that will give it an IP and tell it how to access the internet. Our gateway VMs do not have access to such a thing during their bo...The VM bootstrapping process relies on the VM being bootstrapped having a DHCP server on it's various NICs that will give it an IP and tell it how to access the internet. Our gateway VMs do not have access to such a thing during their boot process, as they are expected to be the DHCP server. Technically they should be able to use oldlan to get internet access, but that doesn't seem to be working in practice. This improves the robustness of the cloud-init configuration options, and uses the new options to make cloud-init setup static IP addressing.