aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/init_vm.yml
blob: 2f6e027374eb9bb1bc1239a090fe5f7ce93f7b20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

# init_vm.yml

---

- hosts: "{{ host }}"
  tasks:

    - include_role:
        name: vmm
        tasks_from: init_vm_alpine.yml
      when: groups["alpine"] | select("search", guest) | list | length > 0

    - include_role:
        name: vmm
        tasks_from: init_vm_openbsd.yml
      when: groups["openbsd"] | select("search", guest) | list | length > 0
remember that computers suck.