No more verbose on kvm, use full kvm clone, up down interface instead of reboot
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user