Create the vm through ansible playbook

Please provide the particular ansible playbook for VM creation on Foreman hostgroub,hard disk,subnet and cpu .

Hi @mahesh, can you please explain in more detail what you are asking for?

1 Like

Hello Ehelms,

I’m trying to create the server on foreman by using ansible playbook.


I attaching the ansible playbook which I’m using to create the vm on Foreman. I’m able to create the vm but I’m not able to get the build option on Foreman.Please help me on this.

I think you can just set build: true if I understand your question ( You may need to check which version of the Ansible collection you are using.