Class: Ansible::Ruby::Modules::Redhat_subscription

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb

Overview

Manage registration and subscription to the Red Hat Network entitlement platform.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#activationkeyString?

Returns supply an activation key for use with registration.

Returns:

  • (String, nil)

    supply an activation key for use with registration



39
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb', line 39

attribute :activationkey

#autosubscribeBoolean?

Returns Upon successful registration, auto-consume available subscriptions.

Returns:

  • (Boolean, nil)

    Upon successful registration, auto-consume available subscriptions



35
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb', line 35

attribute :autosubscribe

#consumer_idString?

Returns References an existing consumer ID to resume using a previous registration for this system. If the system’s identity certificate is lost or corrupted, this option allows it to resume using its previous identity and subscriptions. The default is to not specify a consumer ID so a new ID is created.

Returns:

  • (String, nil)

    References an existing consumer ID to resume using a previous registration for this system. If the system’s identity certificate is lost or corrupted, this option allows it to resume using its previous identity and subscriptions. The default is to not specify a consumer ID so a new ID is created.



56
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb', line 56

attribute :consumer_id

#consumer_nameObject?

Returns Name of the system to register, defaults to the hostname.

Returns:

  • (Object, nil)

    Name of the system to register, defaults to the hostname



53
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb', line 53

attribute :consumer_name

#consumer_typeObject?

Returns The type of unit to register, defaults to system.

Returns:

  • (Object, nil)

    The type of unit to register, defaults to system



50
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb', line 50

attribute :consumer_type

#org_idObject?

Returns Organisation ID to use in conjunction with activationkey.

Returns:

  • (Object, nil)

    Organisation ID to use in conjunction with activationkey



43
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb', line 43

attribute :org_id

#passwordString?

Returns Red Hat Network password.

Returns:

  • (String, nil)

    Red Hat Network password



19
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb', line 19

attribute :password

#poolString?

Returns Specify a subscription pool name to consume. Regular expressions accepted.

Returns:

  • (String, nil)

    Specify a subscription pool name to consume. Regular expressions accepted.



46
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb', line 46

attribute :pool

#rhsm_baseurlString?

Returns Specify CDN baseurl.

Returns:

  • (String, nil)

    Specify CDN baseurl



31
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb', line 31

attribute :rhsm_baseurl

#server_hostnameString?

Returns Specify an alternative Red Hat Network server.

Returns:

  • (String, nil)

    Specify an alternative Red Hat Network server



23
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb', line 23

attribute :server_hostname

#server_insecureString?

Returns Enable or disable https server certificate verification when connecting to C(server_hostname).

Returns:

  • (String, nil)

    Enable or disable https server certificate verification when connecting to C(server_hostname)



27
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb', line 27

attribute :server_insecure

#state:present, ...

Returns whether to register and subscribe (C(present)), or unregister (C(absent)) a system.

Returns:

  • (:present, :absent, nil)

    whether to register and subscribe (C(present)), or unregister (C(absent)) a system



11
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb', line 11

attribute :state

#usernameString?

Returns Red Hat Network username.

Returns:

  • (String, nil)

    Red Hat Network username



15
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/redhat_subscription.rb', line 15

attribute :username