Commit Graph

6 Commits (fbb6277a37faa78ab8a01dee0e7877af372234ce)

Author SHA1 Message Date
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