Heyo, playing with ansibles community.general.proxmox modul.
Trying to create simples LXC:
- hosts: localhost
- name: Create new LXC
node: "my node"
api_user: "my user"
api_token_id: "my id"
api_token_secret: "my token"...
Has anyone successfully used this module? I have tried to follow the directions here and appear to be stuck on something stupid: https://docs.ansible.com/ansible/latest/collections/community/general/proxmox_module.html
I have installed the module via ansible-galaxy. As far as I can tell the...
currently we're trying to create template based clones using Ansible's community.general.proxmox_kvm. To make the clones configurable we stick with cloud-init. We are building the template using a hand rolled Packer configuration which deploys fine (locally as well as in our production...
This is my ansible playbook:
- hosts: gluster-test
- name: Create new VM with minimal options
Hi, I encounter some issue when I tried to find a way, to pass cloud-init to machine with ansible and connect to API.
Actually I using this ansible module:
There are my tasks:
- name: "Clone CentOS"
Hello Proxmox Community,
i am currently trying to configure Ansible on one of my proxmox hosts to make kvm-deployment a little easier.
I installed Ansible via apt and "proxmoxer" and "requests" via pip.
When i try to execute my playbook i get the following error: fatal: [proxmox3]: FAILED...
I'm trying to create a container with Ansible using proxmox API
My LXC container network configuration looks like this when the container is created int /etc/pve/lxc/$vmid.conf :
I try to get LE certs for my proxmox node. I cant find a way to accept the LE tos in my script.
how do I accept the tos without manual pushing "y" in terminal?
pvenode acme account register default email@example.com --directory https://acme-staging-v02.api.letsencrypt.org/directory...
This file is retained in ~/.ansible/tmp/ansible-tmp-########.##-########/AnsiballZ_proxmox_kvm.py
Using it from an Ansible playbook from the module
producing the error ending the run without a VM create...
creation of qemu VM centos-static with vmid 137 failed...
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...
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...
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...
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
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).
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...
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%...
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...
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...
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)...