--- - 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