restructure

This commit is contained in:
2022-10-24 15:50:38 +13:00
parent fb6a488dac
commit d1508efd3f
18 changed files with 62 additions and 11 deletions

View File

@ -0,0 +1,2 @@
---
iso_source:

View File

@ -0,0 +1,3 @@
linux-lts
linux-lts-headers
base

View File

@ -0,0 +1,11 @@
---
- name: attach installation iso as virtual media
- name: boot from installation iso
- name: detect booted ip address
- name: configure disks
- name: sync ntp

View File

@ -0,0 +1,9 @@
[Match]
MACAddress={{ mac_address }}
[Link]
ARP=no
[Network]
DHCP=no
Bond=lacp

View File

@ -0,0 +1 @@
---

View File

@ -0,0 +1,7 @@
---
- name: sysprep the template vhd
when: template_created is changed
ansible.builtin.shell:
cmd: |
virt-sysprep -a {{ root_vhd_pool_dir }}/{{ vhd_template }}