I'd really like to see some improvements to this module as well. The current situation keeps me from using it. Instead I
also have a bunch of shell tasks that handle registering and attaching a host to a specific pool.
The problem I have with this module is that there is an argument called "pool" which actually is misleading. With Red
Hat subscriptions pools are unique ID that identify a collection of different Red Hat products. If I attach to a pool, I
get this exact collection.
The Ansible module uses the pool parameter as regex to search into all available Red Hat pools for products that match
(and than attach to all RH pools that match).
Uwe
Am 06.06.2016 um 19:05 schrieb Jeff Richards:
> We currently use a role comprising shell commands to subscribe systems to Red Hat Network but I noticed that there is
> now a redhat_subscription module, providing basic functionality in this area.
>
> Are there any plans to enhance the functionality of this module? It's currently not useful to us because of our specific
> (and I'm sure not unique) use-case. We have multiple license pools which are identically named, each with its own
> license availability. This has resulted from ongoing license purchases over time.
>
> Problem: the redhat_subscription module subscribes a system to *every* license pool matching the specified name.
>
> So are there any plans to add intelligence to this module? In particular, are there any plans to have it process the
> license availability in each pool and only attempt to subscribe to one that actually has availability? As opposed to
> blindly attempting to subscribe to a matched pool.
>
> Jeff
>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
>
ansible-proje...@googlegroups.com <mailto:
ansible-proje...@googlegroups.com>.
> To post to this group, send email to
ansible...@googlegroups.com <mailto:
ansible...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ansible-project/2b4b339a-4f71-4b5f-82a5-9ae837e7ed04%40googlegroups.com
> <
https://groups.google.com/d/msgid/ansible-project/2b4b339a-4f71-4b5f-82a5-9ae837e7ed04%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout.