Files
community.general/plugins/modules
Tristan Le Guern 9a5fe4c9af proxmox_kvm: new function wait_for_task() (#831)
Allows some factorization of redundant code in stop_vm(), start_vm(),
create_vm() and main().
This new function also waits one extra second after a successful task execution as the API can be a bit ahead of Proxmox.

Before:

    TASK [ansible-role-proxmox-instance : Ensure test-instance is created]
    changed: [localhost]

    TASK [ansible-role-proxmox-instance : Ensure test-instance is updated]
    fatal: [localhost]: FAILED! => changed=false
      msg: VM test-instance does not exist in cluster.

After:

    TASK [ansible-role-proxmox-instance : Ensure test-instance is created]
    changed: [localhost]

    TASK [ansible-role-proxmox-instance : Ensure test-instance is updated]
    changed: [localhost]

With suggestions from Felix Fontein <felix@fontein.de>.
2020-09-08 13:11:37 +02:00
..
2020-07-30 06:35:12 +00:00
2020-08-18 09:10:41 +02:00
2020-03-09 09:11:07 +00:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-06-10 21:01:16 +03:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-07-17 07:39:37 +03:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-08-11 17:54:41 +02:00
2020-06-26 09:17:51 +02:00
2020-08-18 09:10:41 +02:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00