We are working on a fully automatic configuration of our foreman installation via ansible. Here we use latest stable of foreman-ansible-modules.
Currently we implement the compute profile automation. As the documentation of vm_attrs is not as well as we can simply adapt it we use cURL to query the API for a test compute profile. Here we see that there are two dicts vm_attrs and attributes which have the very same content. attributes itselves have some more data.
So we now wonder how we have to handle attributes as there is no parameter described in documentation.