No more verbose on kvm, use full kvm clone, up down interface instead of reboot

This commit is contained in:
2018-11-25 09:54:40 -05:00
parent 207f509a25
commit c8f851d4be
5 changed files with 15 additions and 8 deletions

View File

@@ -13,11 +13,11 @@
api_password: "{{ proxmox_password }}"
api_host: "{{ proxmox_host }}"
clone: "{{ ubuntu_template_vm_name }}"
full: no
full: yes
name: '{{ inventory_hostname }}'
node: 'rack1'
node: 'rack2'
target: '{{ hypervisor }}'
storage: 'synology-hdd'
storage: 'SSD1'
format: 'qcow2'
timeout: 6000
register: cloned
@@ -59,6 +59,11 @@
timeout: 180
when: cloned.changed
- name: Wait 120 seconds for apt
wait_for: timeout=120
delegate_to: localhost
when: cloned.changed
- include: ../roles/ansible-dependencies/tasks/main.yml
delegate_to: 10.0.0.211
when: cloned.changed