mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
one_vm: add release action (#4036)
* one_vm: add release action Previously you could create VMs with the `vm_start_on_hold` parameter but then ansible couldn't release the VMs so they would be scheduled to run. This PR adds the ability to release VMs which are in the 'HOLD' state. * Add changelog fragment * Update changelogs/fragments/4036-onevm-add-release-action.yaml Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/cloud/opennebula/one_vm.py Co-authored-by: Felix Fontein <felix@fontein.de> * Make releasing a VM part of the running state When `state: running` is specified the code checks if the VM is in a 'HOLD' state and will release the VM when needed. Co-authored-by: Gerben Welter <gerben.welter@hcs-company.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
62d519de10
commit
a4983ce38a
2 changed files with 24 additions and 0 deletions
2
changelogs/fragments/4036-onevm-add-release-action.yaml
Normal file
2
changelogs/fragments/4036-onevm-add-release-action.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- opennebula - add the release action for VMs in the ``HOLD`` state (https://github.com/ansible-collections/community.general/pull/4036).
|
Loading…
Add table
Add a link
Reference in a new issue