mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
proxmox: Add clone parameter (#3930)
* proxmox: Add clone parameter * Add changelog fragment * Add version_added Co-authored-by: Felix Fontein <felix@fontein.de> * Add PR URL to changelog fragment Co-authored-by: Felix Fontein <felix@fontein.de> * Clarify what content_check does * Split up try/except block to give a separate error message when creation pre-checks fail * Create seperate case for cloning * Prevent 'clone' argument from being removed * Fix double argument, add todo's * Check if to be cloned container actually exists * Adjust module options dependencies * Require 'storage' parameter when cloned container is not a template and ignore otherwise * Don't only create linked clones of template containers * Fix pylint errors * Add extra example * Minor language fix * Add clone_type parameter to specify cloning behaviour * I can't find if openvz nodes have this clone API, so just don't support it * Remove unrelated changes * Don't pass unused kwargs * Revert more unrelated changes * Remove required_together clone and clone_type because clone_type has a default choice * Fix clone_type reference Co-authored-by: Felix Fontein <felix@fontein.de> * Fix missing period Co-authored-by: Felix Fontein <felix@fontein.de> * Fix redundant period Co-authored-by: Felix Fontein <felix@fontein.de> * Fix redundant period Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
11205eefee
commit
b0c27f7a68
2 changed files with 136 additions and 8 deletions
2
changelogs/fragments/3930-proxmox-add-clone.yaml
Normal file
2
changelogs/fragments/3930-proxmox-add-clone.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- proxmox - add ``clone`` parameter (https://github.com/ansible-collections/community.general/pull/3930).
|
Loading…
Add table
Add a link
Reference in a new issue