summaryrefslogtreecommitdiff
path: root/hyperv.yml
blob: 365d83985307c115a70807989ceaeae6950cc9a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
- hosts: hyperv
  become: True
  gather_facts: False
  connection: local
  vars:
    vyos_platform: Hyper-V
    vyos_format: vhd
    vyos_hyperv_img: /tmp/vyos_hyperv_image.vhd
    vyos_output_img: "{{ vyos_hyperv_img }}"
  roles:
    - install-packages
    - load-modules
    - download-iso
    - mount-iso
    - get-version
    - create-disk
    - attach-loop-device
    - setup-root-partition
    - install-image
    - mount-root-fs
    - install-config
    - install-grub
    - install-persistence-conf
    - install-cloud-init
    - unmount-all
    - hyperv-vhd
    - release