A simple Ansible role to create/clone virtual machines in Proxmox
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ronald de0b50a92c Fix the previous commit.
Removed the previously added variable and replaced it with
create_vm_proxmox_vm_disks, which feels much nicer to use.  However some
more work is required here as the module used by the task "Manage
virtual disk for virtual machine", proxmox_disk, doesn't appear to do
any error detection/handling.  As such, a resize can fail in Proxmox but
the task will report a successful change.
2 years ago
defaults Initial commit 2 years ago
meta Initial commit 2 years ago
tasks Fix the previous commit. 2 years ago
vars Initial commit 2 years ago
README.md Updated README.md 2 years ago

README.md

Role Name: create_vm_proxmox

A simple role to create/clone virtual machines in Proxmox.

Role variables

TODO: Add table of role variables

Dependencies

Python module on the host used in proxmox tasks

  • requests
  • proxmoxer

Bash is required for the connect tasks

Example Playbook

Example playbook:

- hosts: virtual_servers
  roles:
     - create_vm_proxmox

License

BSD-3-Clause License