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/modules/cloud
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
..
alicloud added supports_check_mode=True to info/facts modules (#3084) 2021-07-27 18:24:29 +02:00
atomic Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
centurylink Prepare for distutils.version being removed in Python 3.12 (#3936) 2021-12-24 17:34:48 +00:00
dimensiondata Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
heroku mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
huawei Fix a bunch of potential security issues (secret leaking) (#1736) 2021-02-08 16:33:18 +01:00
linode mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
lxc lxc_container - invoke run_command passing list (#3851) 2021-12-09 22:02:43 +01:00
lxd lxd_container: support lxd instance types (#3661) 2021-11-20 08:20:24 +01:00
memset added supports_check_mode=True to info/facts modules (#3084) 2021-07-27 18:24:29 +02:00
misc Move Proxmox HAS_PROXMOXER check into module_utils. (#4030) 2022-01-16 20:13:47 +01:00
oneandone mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
online update scaleway maintainers (#3472) 2021-12-08 18:32:26 +01:00
opennebula one_vm: add release action (#4036) 2022-01-24 19:52:32 +01:00
oracle mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
ovh mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
packet Fix new devel sanity errors. (#3194) 2021-08-12 12:07:50 +02:00
profitbricks mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
pubnub mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
rackspace Prepare for distutils.version being removed in Python 3.12 (#3936) 2021-12-24 17:34:48 +00:00
scaleway [Bug] Scaleway The volume is created systematically on par1 (#3964) 2022-01-05 17:53:00 +01:00
smartos added supports_check_mode=True to info/facts modules (#3084) 2021-07-27 18:24:29 +02:00
softlayer Adjust example to remove unnecessary offensive language. (#2869) 2021-06-24 22:57:40 +02:00
spotinst mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
univention udm_dns_record: Fix handling of PTR records (#3244) (#3256) 2021-08-30 06:53:30 +02:00
webfaction Tidy up sanity checks (2021/Batch 3 - who's counting) (#1885) 2021-02-26 11:37:23 +01:00
xenserver xenserver_guest - fixed validations (#2243) 2021-04-17 09:32:13 +02:00