mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-09 20:20:31 -07:00
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>. |
||
---|---|---|
.. | ||
fragments | ||
.gitignore | ||
changelog.yaml | ||
config.yaml |