hetzner.hcloud icon indicating copy to clipboard operation
hetzner.hcloud copied to clipboard

Create image/snapshot from server

Open saurabhnanda opened this issue 3 years ago • 4 comments

Is it possible to do this operation from the any hetzner/ansible plugin: https://docs.hetzner.cloud/#server-actions-create-image-from-a-server ?

saurabhnanda avatar May 08 '21 11:05 saurabhnanda

Hey @saurabhnanda,

creating a snapshot is not possible with ansible because this action wouldn't be idempotent.

LKaemmerling avatar May 27 '21 05:05 LKaemmerling

To be clear. It is possible, but the task will result always in changing one.
Other cloud vandors implement such feature also

  • https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_snapshot_module.html

markuman avatar Jul 19 '21 18:07 markuman

Would be somehow nicer if everything comes from one source and you don't have to load in foreign modules that you don't need otherwise.

rtulke avatar Jun 20 '22 21:06 rtulke

This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.

github-actions[bot] avatar Oct 09 '23 12:10 github-actions[bot]