Commit graph

24 commits

Author SHA1 Message Date
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