31d00d0b9d
kvm_host: Move os disks to dedicated disk
2024-02-13 20:01:25 +00:00
317622a01d
Fix Forbidden implicit octal value from playbooks
2023-10-13 12:44:42 +00:00
37c3ad0e27
Fix yamllint errors
2022-10-31 19:16:02 +00:00
3013f4f65d
Explicitly set permissions to initrd inject file
2022-10-31 18:39:26 +00:00
d3c08cf674
ansible-lint fixes to kvm guest deployment
2022-10-31 18:07:48 +00:00
3cabf7f681
Move ssh public keys to own files
2022-10-30 22:00:08 +00:00
b1036de33d
Add support for datadisk type
2022-08-13 17:34:34 +00:00
54ce042c58
Move all virsh commands to be run on vmhost
2022-07-11 11:27:50 +00:00
436b583572
Run virsh commands directly on vmhost
...
RHEL8 Ansible changed to use Python 3.8 which does not have libvirt
bindings packaged.
2022-07-11 11:11:34 +00:00
9f31fcfd52
Allow USB device passthrough
2022-04-13 20:49:51 +00:00
6348f267de
Kludge to allow iso images in location
2022-01-31 18:47:32 +00:00
ef741895a5
Add os variant support to kvm guest install
2022-01-30 15:55:24 +00:00
2a2d8bcccd
Fix installing vm's without passthrough devices
2021-08-18 17:30:28 +00:00
bceca425b2
Add support for host passthrough devices
2021-08-16 16:34:05 +00:00
be60cff9de
Add passthrough support for host devices
2021-04-14 18:05:50 +00:00
5495eb0827
Preallocate data disks when during privisioning
2021-03-16 01:00:11 +00:00
5199c89a04
Cleanup old facts before starting installer
2021-02-23 17:35:28 +00:00
905e7f8485
Rename generic vm-create to deploy-kvm-guest
2020-09-03 18:13:52 +00:00
f60fb7f88c
Force python3 install when provisioning OpenBSD
2020-09-01 20:15:15 +00:00
a3b3e91b09
Store only ed25519 key during provisioning
2020-08-28 08:17:48 +00:00
c80eca3d85
New implementation of network interfaces
...
Combine interfaces and network_ether_interfaces into one common
variable network_interfaces. Provisioning uses format:
network_interfaces:
- device: device name eg. vio0 or eth0
vlan: vlan id for this interface
mac: mac address for interface (optional)
Additionally network role will use more settings to configure
interface.
2020-08-27 17:42:07 +00:00
78c9a2eaf1
Don't hardcode private dir to vm-create
2020-08-27 12:41:16 +00:00
fc25e0a108
Add support to provision OpenBSD KVM guests
2020-08-27 12:40:17 +00:00
65fcb4035e
Aggressive line shortening to get past yamllint
2020-08-26 21:22:22 +03:00
18df5f418c
Fix typo, rename disk vars and cleanup
2020-08-26 21:03:05 +03:00
6798c71285
Make vars more readable and fix one lint error
2020-08-26 20:28:15 +03:00
d54fe7975c
Don't set password for root. Just lock account.
2020-08-26 20:24:08 +03:00
54b5a74f54
Use cpu cores instead of sockets for kvm guests
2020-08-26 20:20:04 +03:00
6bf4815503
Store console output to logfile on kvm guests
2020-08-26 20:12:12 +03:00
40963ea620
Relocate kvm guest disk images
2020-08-26 20:07:55 +03:00
05f2b28c4f
use random mac address if it's not provided
2019-05-31 18:30:36 +03:00
be9fab2fc3
use command instead of shell as recommended
2019-05-23 21:24:53 +03:00
6e996b7252
always use virtio driver for disks
2019-05-23 17:34:13 +03:00
04e7eb07c9
create os based groups and move all os variables to group variables
2019-05-22 23:28:25 +03:00
4004a9ef68
add support for defining multiple interfaces for virtual machines
2019-05-17 14:28:38 +03:00
a47d58799d
Add support for multiple disks when creating new virtual machines.
2019-05-10 13:02:47 +03:00
ad30e5be01
Run ssh-keyscan only when instance is created.
2019-05-10 11:14:32 +03:00
64c6a74de2
Fix tmpdir cleaning error when tmpdir is not created.§
2019-05-10 11:12:35 +03:00
b010f9db84
Initial version of playbook which creates virtual machines.
2019-05-10 10:26:27 +03:00