Commit graph

14 commits

Author SHA1 Message Date
Matt Davis
1c01e826d6 Merge pull request #3352 from gundalow/docsrh_subs
ansible-validate-modules part 3: Add copyright notice for Barnaby Court (@barnabycourt)
2016-04-12 12:27:00 -07:00
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.
2016-04-12 17:51:35 +02:00
John Barker
6b03f4afe6 Add copyright notice for James Laska 2016-04-06 19:12:15 +01:00
Barnaby Court
d4c5360380 add no_log to the password parameter 2015-12-22 22:26:51 -05:00
Greg DeKoenigsberg
0813c5fb40 Change author field for os_redhat_subscription.py 2015-09-22 05:51:02 -04:00
Jason DeTiberus
c458b5e96c python 2.4 syntax fix 2015-07-28 06:30:37 -04:00
Jason DeTiberus
0802102634 Add example for changing consumed subscriptions 2015-07-28 06:26:04 -04:00
Jason DeTiberus
520a125693 bugfixes for redhat_subscription
- correctly return pool ids for newer versions of subscription-manager
- allow for managing subscriptions after initial registration.
2015-07-28 06:26:04 -04:00
Greg DeKoenigsberg
2a5f0bde87 Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
James Cammarata
c9f0c87b59 Add version_added string to new org_id param in rhn_subscription 2015-04-14 13:56:55 -05:00
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>
2015-04-06 22:23:59 +05:30
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.
2015-04-02 14:21:20 -06:00
Dale Bewley
449ced1efa use state parameter in examples 2014-12-04 17:31:35 -08:00
Michael DeHaan
3ed1378067 Some more module categorization. 2014-11-04 17:23:22 -05:00
Renamed from packaging/redhat_subscription.py (Browse further)