As far as I can see, Proxmox VE is currently only partially configurable through community provided Ansible modules. (See below)
Inventory Plugins:
proxmox
Modules:
proxmox
proxmox_domain_info
proxmox_group_info
proxmox_kvm
proxmox_nic
proxmox_snap
proxmox_storage_info
proxmox_tasks_info...
More details in this Github issue: https://github.com/ansible-collections/community.general/issues/3956
I am unable to create an LXC container in v7 via the API if I use the rootfs option to specify the disk size.
If I omit the rootfs option, the container is created successfully.
I have tried...
Is anyone else having issues with the community module for Ansible? Seems broken.
I've logged a bug here would love to hear from the community if anyone else is experiencing this and has a fix.
I'm not sure if this is an Ansible, or a Proxmox question, but I've got to start somewhere...
I can create and/or clone a QEMU VM in Proxmox using Ansible's community.general.proxmox_kvm module. However, that module's documentation specifically states that it cannot resize a disk.
I therefore...
Hi there,
I am using ansible to control and configure proxmox cluster. When restarting multiple lxc on multiple nodes its doing one by one not at the same time. Is it possible for ansible to reboot multiple lxc at the same time? Not sure its right forum to ask ansible question but thanks in...
Hi, I want to deploy from a Proxmox Host a VM that is convertet to a template to clone other VMs out of these. the Templating role works fine but if i clone the template with ansible, starting the VM and want to sign in the preset login combi don´t work, but if i click on the "Regenerate Image"...
I've got as far as working out that /etc/pve is a fuse mount and that I should use the gui to replace the certs (although it would be nice to automate this)
So, more for my leaning, is there a better way to copy these into place through ansible that I'm missing please?
Or what am I missing here...
Heyo, playing with ansibles community.general.proxmox modul.
Trying to create simples LXC:
---
- hosts: localhost
tasks:
- name: Create new LXC
community.general.proxmox:
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...
Hi,
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
become: true
tasks:
- name: Create new VM with minimal options
community.general.proxmox_kvm:
proxmox_default_behavior: 'no_defaults'
api_user: 'root@pam'
api_password: 'blahblahblah'
api_host...
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:
https://docs.ansible.com/ansible/2.3/proxmox_kvm_module.html
There are my tasks:
---
- name: "Clone CentOS"
proxmox_kvm...
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...
Hi everyone
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 :
net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=FA:6E:B3:F4:D6:61,ip=192.168.1.121/25,type=veth
net1...
Hi,
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 mail@domain.tld --directory https://acme-staging-v02.api.letsencrypt.org/directory...
Nothing obvious on this one out in network-land so hoping someone has seen this before. It stops the ansible playbook run cold.
roles/library/proxomox_kvm.py exists and is executable
This file is retained in ~/.ansible/tmp/ansible-tmp-########.##-########/AnsiballZ_proxmox_kvm.py
Using it from an Ansible playbook from the module
ansible.modules.proxmox_kvm
producing the error ending the run without a VM create...
creation of qemu VM centos-static with vmid 137 failed...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.