Search results

  1. S

    Configuring Proxmox server with Ansible

    This has been addressed and is workable. It was simply updating vars.yml from your latest gitlab version of pve-infra-poc and then the "type" variable, which was defined after our earlier vars.yml was seen. Where we are now is that we have used proxmox_kvm to clone an existing VM but we have...
  2. S

    Configuring Proxmox server with Ansible

    Regarding the above, also, what should be put in for the TOKEN_VALUE, COOKIE_VALUE, NODENAME placeholders?
  3. S

    Configuring Proxmox server with Ansible

    The initial error, with nothing commented out in the run.yml (e.g. the args:, the register, the when, the meta, the when, is: TASK [create vms] ************************************************************************************************ task path...
  4. S

    Configuring Proxmox server with Ansible

    Here's the run: ansible-playbook -vvv runCreateVM3.yml ansible-playbook 2.9.1 config file = /etc/ansible/ansible.cfg configured module search path = [u'/home/stuartcracraft/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location =...
  5. S

    Configuring Proxmox server with Ansible

    Here is the complete log from Ansible's point of view and the code. The repo it is based on is morph027's at https://gitlab.com/morph027/pve-infra-poc This test has been simplified to be just the create vms code in run.yml in the above repo but with a few lines commented out (explanation...
  6. S

    question about best practice for vm's config of ip/gw/nameservers

    Yes, that's what I have in the playbook which is based on https://gitlab.com/morph027/pve-infra-poc But it fails. Here's the full error. Anyone know how I can get at at 500 internal server error exception and the meaning of "data"? TASK [create vms]...
  7. S

    Configuring Proxmox server with Ansible

    Hi Fabian, I am able to create a VM with a verify simplified proxmox_kvm use within ansible. That works. But when I try to extend it to configure more, I am getting an Internal Server Error exception 500 with the string data: failed: [localhost] (item={'value': {u'node': u'ceph-hv-01'...
  8. S

    internal server error: "data" when creating with proxmox_kvm in ansible

    Here's the full error: TASK [create vms] *************************************************************************************************** failed: [localhost] (item={'value': {u'node': u'ceph-hv-01', u'memory_size': u'12288', u'template': u'centos7-template', u'cores': u'4', u'ipconfig'...
  9. S

    internal server error: "data" when creating with proxmox_kvm in ansible

    Anybody seen this? "msg": "creation of qemu VM stu-test-10 with vmid 102 failed with exception=500 Internal Server Error: {\"data\":null}"}
  10. S

    question about best practice for vm's config of ip/gw/nameservers

    Hi, I have a question about best practice in the Proxmox world. We have Ansible here creating and deleting VM's. But from there, we want to assign ip, assign gateway, assign name server, etc. to the newly created VM and then we will Ansible everything inside that too. So somewhat like the...
  11. S

    Configuring Proxmox server with Ansible

    Hi, I've created an account on the server but would like to ensure I open up all the necessary ports so that I can use Ansible to configure and ssh to access the console itself. Not speaking of the individual VM's. That's not a problem. But the server. Can someone refer me to the right...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!