Commit Graph

11 Commits (d3fa192968859449c82b2c5e1ca98cd5d61f03f1)

Author SHA1 Message Date
Barnaby Court d4c5360380 add no_log to the password parameter 9 years ago
Greg DeKoenigsberg 0813c5fb40 Change author field for os_redhat_subscription.py 9 years ago
Jason DeTiberus c458b5e96c python 2.4 syntax fix 9 years ago
Jason DeTiberus 0802102634 Add example for changing consumed subscriptions 9 years ago
Jason DeTiberus 520a125693 bugfixes for redhat_subscription
- correctly return pool ids for newer versions of subscription-manager
- allow for managing subscriptions after initial registration.
9 years ago
Greg DeKoenigsberg 2a5f0bde87 Proper author info for all remaining modules 10 years ago
James Cammarata c9f0c87b59 Add version_added string to new org_id param in rhn_subscription 10 years ago
Niels de Vos 011d240abc redhat_subscription: add the `org_id` parameter
When subscribing a system with an activationkey, it seems (sometimes?)
required to pass the "--org <number>" parameter to subscription-manager.
Activation Keys can be created through the Red Hat Customer Portal, and
a subscription can be attached to those. This makes is easy to register
systems without passing username/passwords around.

The organisation ID can be retrieved by executing the following command
on a registered system (*not* the account number):

  # subscription-manager identity

URL: https://access.redhat.com/management/activation_keys
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
10 years ago
Ken Dreyer bd617353cb redhat_subscription: fix activationkeys argument
Prior to this commit, Ansible would pass '--activationkeys <value>' as a
literal string, which the remote server would interpret as a single
argument to subscription-manager.

This led to the following failure message when using an activation key:

  subscription-manager: error: no such option: --activationkey "mykey"

Update the arguments so that the remote server will properly interpret
them as two separate values.
10 years ago
Dale Bewley 449ced1efa use state parameter in examples 10 years ago
Michael DeHaan 3ed1378067 Some more module categorization. 10 years ago