Commit Graph

16 Commits (8fdb068d7a84aeaae379234154cdf24de2227d6c)

Author SHA1 Message Date
Michael Scherer 75715a1b73 Convert packaging/* to py3/py2.4 syntax (#3702) 8 years ago
Adrian Likins d83c269b82 improve redhat_subscription documentation (#3348)
* add subscription-manager's --type, --consumerid, --name option support

* redhat_subscription: More docs on consumerid
9 years ago
Matt Davis 1c01e826d6 Merge pull request #3352 from gundalow/docsrh_subs
ansible-validate-modules part 3: Add copyright notice for Barnaby Court (@barnabycourt)
9 years ago
Adrian Likins 72f6238d04 Update redhat_subscriptions 'server_insecure' docs (#3373)
'server_insecure' maps to the subscription-manager config
(/etc/rhsm/rhsm.conf) value for 'insecure' key in the
'server' stanza. The 'insecure' configures if the https connection
to 'server_hostname' is verified as having been issued by
a CA in 'ca_cert_dir' trust store.

Previous documentation indicating it disables https and
enables http was inaccurate. Connection to server_hostname
always uses https.
9 years ago
John Barker 6b03f4afe6 Add copyright notice for James Laska 9 years ago
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 9 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