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?
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 (https://github.com/theforeman/foreman-ansible-modules/blob/develop/plugins/modules/host.py#L52). You may need to check which version of the Ansible collection you are using.