ansible

  1. Has cloud-init been changed between 5.3 and 6.0?

    Hello, I maintain a project that bootstraps a Kubernetes cluster on Proxmox using Ansible. My code has always worked reliably when tested on 5.3, however I recently upgraded my server to 6.0-4 and now cloud-init is behaving strangely. It successfully sets the IP Address, Subnet, and Gateway to...
  2. Ansible proxmox_kvm gettting MAC address for PXE

    Anyone successfully used the Ansible module of proxmox_kvm to get a MAC address of a VM for a PXE install? Here is the task code: - name: Get Facts proxmox_kvm: api_user: "root@pam" api_password: test api_host: test node: test name: test validate_certs: no...
  3. Ansible Playbook to Provision from a Template Examples?

    Hey, I am new to Proxmox VE and although I have some experience with Ansible, I am still a newbie. I recently blew away my installation of ESXi from my Dell T5500 because I want to learn more about provisioning boxes etc via Ansible (and ESXi doesn't support templates with out vCenter etc). I...
  4. Custom Variables Tab in VM, Template, Container, Host, Storage etc.

    Hello, Is there a possibility to define variable, that is accessible by proxmox API in each object type like VM, Template, Container, Host or Datastore? If no, simple tab with key and value added to all objects in proxmox gui will be awesome, because this will allow to build extensions for...
  5. API issue w/ 'proxmox' ansible module.

    Hello, big proxmox fan and ansible user here. I am trying to create new LXC containers in proxmox using ansible. I believe this is same issue as: https://github.com/ansible/ansible/issues/25113 I'd like to help fix it and maybe do a pull request for the ansible module. I can't say with 100%...
  6. qm set command, can't delete "args" , stuck pending

    I have an ansible playbook that clones a debian template, sets some kernel arguments via qm command, boots the VM, and then is supposed to remove the kernel arguments, so they would only be used/seen on first boot. I based my method off of this excellent guide...
  7. API: force flag

    Hi all (or in this case, Hi PVE devs *g*)! Right now i'm trying to debug a new ansible module which is able to handle KVM via API (leveraging proxmoxer). It works pretty good from the start, but i found a small glitch which i'm trying to debug (if we need to take care of in the module or in...
  8. Creating VMs automatically - ansible, vagrant, API .. ?

    Is anyone on here provisioning and configuring VMs on Proxmox, in a programmatic way? I'm hoping to get something going with vagrant, ansible, etc, and/or perhaps the Proxmox API. I have several proxmox nodes in a cluster. Specifying a KVM template, hardware specifics (disk size, VLAN id etc)...
  9. dhcp lxc

    Hello ! I'm trying to use ansible with proxmox API but i have a big problem ! The module proxmox.py doesn't work with PVE 4.2... anyways i found the solution. My problem is to use the API for add a interface (eth0) with dhcp. (nodes/{node}/lxc/network) Can you help me please ? :)
  10. Host server crashing when running Ansible on a Container

    Hey folks, I'm having a really weird problem with my host machine. I have two containers, let's say container A and B. My container A is used only for utilities and it contains the full ansible configurations to configure my servers. I run ansible in A to configure B. Both servers are running...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!