theforeman / foreman-ansible-modules

Ansible modules for interacting with the Foreman API and various plugin APIs such as Katello
GNU General Public License v3.0
147 stars 163 forks source link

katello_content_view_version: add description option #521

Closed nesanton closed 4 years ago

nesanton commented 4 years ago
SUMMARY

Description field seems missing. It is used often to store information about filters that the content view had at promotion time of the version in question. There's no other simple way to store this info within satellite, so this filed is a must.

ISSUE TYPE
nesanton commented 4 years ago

it seems that it was meant to be there but slipped out:

https://github.com/theforeman/foreman-ansible-modules/blob/362161115f693cd8e7bda10c98ff9f82a64cbfa4/plugins/modules/katello_content_view_version.py#L226

mdellweg commented 4 years ago

Can you try, whether adding a description line in the entity_spec is sufficient?

nesanton commented 4 years ago

Yes, it seems so. I'll record a tape and make a PR later on