summaryrefslogtreecommitdiff
path: root/hyperv.yml
blob: f1ca1ddbca022ffcb2956e638259d9d5b0bb6816 (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
29
30
31
---
- hosts: hyperv
  become: True
  gather_facts: False
  connection: local
  vars:
    vyos_platform: Hyper-V
    vyos_format: vhdx
    vyos_hyperv_img: /tmp/vyos_hyperv_image.vhdx
    vyos_output_img: "{{ vyos_hyperv_img }}"
    cloud_init: "false"
    cloud_init_ds_string: "{{ cloud_init_ds | default('NoCloud, ConfigDrive, None') }}"
    cloud_init_ds_list: "{{ cloud_init_ds_string.split(',') }}"
  roles:
    - install-packages
    - load-modules
    - download-iso
    - mount-iso
    - get-version
    - create-disk
    - setup-root-partition
    - install-image
    - mount-root-fs
    - install-config
    - install-grub
    - install-persistence-conf
    - install-cloud-init-wrapper
    - unmount-pre
    - unmount-all
    - hyperv-vhd
    - release