summaryrefslogtreecommitdiff
path: root/spreadspace/vm-deploy.yml
blob: 8530b14a475ed2a94fcffe709254ec7070199668 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
- name: generate os image
  hosts: "{{ install_hostname }}"
  connection: local
  gather_facts: no
  roles:
  - role: "installer/{{ install_distro }}/image"

- name: cook variables for host
  hosts: "{{ install_hostname }}"
  gather_facts: no
  tasks:
  - set_fact:
      install: "{{ install | default({}) }}"
      network: "{{ network | default({}) }}"
      vm_host: "{{ vm_host | default({}) }}"

- import_playbook: ../common/vm-deploy.yml