Specify file location with disk (in ansible)

SpiderUnderUrBed

New Member
Feb 17, 2025
5
0
1
https://pastebin.com/KFkhYAvS

Currently I would appreciate it if anyone was able to help me figure out how to specify a location for my disk file in ansible, I had a look at the docs for community.general.proxmox_kvm, and I could not find a option for specifying where I want my 2qcow file or whatever other format I will end up be using is located, this is because I have a hard drive mounted at boot, and I want my disk file to be in that hard drive.

So again, if someone can tell me how to specify the location of a extra disk file, it would be very much appreciated.
 
Isn't that an Ansible issue, rather than a Proxmox issue? You are attempting to understand how to perform a task inside Ansible, not Proxmox, correct?
 
@ghusson
I tried several things, but I dont know what specific way to get it working, can you give me a small example please? (as long as its compatible with proxmox_kvm as that has some diffrent settings)