summaryrefslogtreecommitdiff
path: root/hyperv.yml
blob: 3aec76b6c6f1128fb080518e1e6a4dd6eb7d6f21 (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
---
- 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
    - download-iso
    - mount-iso
    - get-version
    - create-disk
    - setup-root-partition
    - install-image
    - mount-root-fs
    - install-config
    - install-grub-wrapper
    - install-persistence-conf
    - install-cloud-init-wrapper
    - unmount-pre
    - unmount-all
    - hyperv-vhd
    - release