1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins
Gerben Welter a4983ce38a
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>
2022-01-24 19:52:32 +01:00
..
action fixed the utf-8 marker (#3162) 2021-08-07 15:02:21 +02:00
become Update BOTMETA, fix some plugin authors, improve BOTMETA extra sanity test (#3069) 2021-07-26 11:44:41 +02:00
cache Fix new devel sanity errors. (#3194) 2021-08-12 12:07:50 +02:00
callback mail: add Date and Message-ID headers (#4056) 2022-01-21 07:27:20 +01:00
connection Get rid of distutils.spawn and distutils.util (#3934) 2022-01-04 06:56:28 +01:00
doc_fragments Add additional auth support to Gitlab (#705) (#3918) 2021-12-20 21:59:12 +01:00
filter Add counter filter (#3921) 2021-12-26 14:56:21 +01:00
inventory Update example (#4041) 2022-01-16 20:31:24 +01:00
lookup Fix example code for flattened lookup (#4013) 2022-01-09 11:11:56 +01:00
module_utils Move Proxmox HAS_PROXMOXER check into module_utils. (#4030) 2022-01-16 20:13:47 +01:00
modules one_vm: add release action (#4036) 2022-01-24 19:52:32 +01:00
test a_module test: fix crash in case of tombstoning (#3660) 2021-11-04 08:29:17 +01:00