diff options
| author | spmfox <spmfox@foxwd.com> | 2023-05-29 11:07:09 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2023-05-29 11:07:09 -0400 |
| commit | 891bd795def59f9cdd359e317df4078a0f655033 (patch) | |
| tree | 84f095a5db9ec8cbfb2b787f14aeae8447f9cec4 /vm-create.yml | |
| parent | ff35c64d337a286ac2864c8403c1840e28bb23b1 (diff) | |
Adding support for multi-vm environment definition
Diffstat (limited to 'vm-create.yml')
| -rw-r--r-- | vm-create.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vm-create.yml b/vm-create.yml index 323e11e..cfe9f8d 100644 --- a/vm-create.yml +++ b/vm-create.yml @@ -1,19 +1,28 @@ - hosts: all become: true + gather_facts: false tasks: - ansible.builtin.include_role: name: zfs tasks_from: dataset-check-duplicate.yml + apply: + delegate_to: "{{ hypervisor_host }}" - ansible.builtin.include_role: name: libvirt tasks_from: vm-check-duplicate.yml + apply: + delegate_to: "{{ hypervisor_host }}" - ansible.builtin.include_role: name: zfs tasks_from: dataset-create.yml + apply: + delegate_to: "{{ hypervisor_host }}" - ansible.builtin.include_role: name: libvirt tasks_from: vm-install.yml + apply: + delegate_to: "{{ hypervisor_host }}" |
