Class: Ansible::Ruby::Modules::Katello

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb

Overview

Allows the management of Katello resources inside your Foreman server.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#action:sync, ...

Returns action associated to the entity resource to set or edit in dictionary format.,Possible Action in relation to Entitys.,sync (available when entity=product or entity=repository),publish (available when entity=content_view),promote (available when entity=content_view).

Returns:

  • (:sync, :publish, :promote, nil)

    action associated to the entity resource to set or edit in dictionary format.,Possible Action in relation to Entitys.,sync (available when entity=product or entity=repository),publish (available when entity=content_view),promote (available when entity=content_view)



28
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 28

attribute :action

#entity:repository, ...

Returns The Foreman resource that the action will be performed on (e.g. organization, host).

Returns:

  • (:repository, :manifest, :repository_set, :sync_plan, :content_view, :lifecycle_environment, :activation_key)

    The Foreman resource that the action will be performed on (e.g. organization, host).



24
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 24

attribute :entity

#paramsHash

Returns Parameters associated to the entity resource and action, to set or edit in dictionary format.,Each choice may be only available with specific entitys and actions.,Possible Choices are in the format of param_name ([entry,action,action,…],,…).,The action “None” means no action specified.,Possible Params in relation to entity and action.,name ([product,sync,None], [repository,sync], [repository_set,None], [sync_plan,None],,, [lifecycle_environment,None], [activation_key,None]),organization ([product,sync,None] ,[repository,sync,None], [repository_set,None], [sync_plan,None], ,[content_view,promote,publish,None], [lifecycle_environment,None], [activation_key,None]),content ([manifest,None]),product ([repository,sync,None], [repository_set,None], [sync_plan,None]),basearch ([repository_set,None]),releaserver ([repository_set,None]),sync_date ([sync_plan,None]),interval ([sync_plan,None]),repositories ([content_view,None]),from_environment ([content_view,promote]),to_environment(),prior ([lifecycle_environment,None]),content_view ([activation_key,None]),lifecycle_environment ([activation_key,None]).

Returns:

  • (Hash)

    Parameters associated to the entity resource and action, to set or edit in dictionary format.,Each choice may be only available with specific entitys and actions.,Possible Choices are in the format of param_name ([entry,action,action,…],,…).,The action “None” means no action specified.,Possible Params in relation to entity and action.,name ([product,sync,None], [repository,sync], [repository_set,None], [sync_plan,None],,, [lifecycle_environment,None], [activation_key,None]),organization ([product,sync,None] ,[repository,sync,None], [repository_set,None], [sync_plan,None], ,[content_view,promote,publish,None], [lifecycle_environment,None], [activation_key,None]),content ([manifest,None]),product ([repository,sync,None], [repository_set,None], [sync_plan,None]),basearch ([repository_set,None]),releaserver ([repository_set,None]),sync_date ([sync_plan,None]),interval ([sync_plan,None]),repositories ([content_view,None]),from_environment ([content_view,promote]),to_environment(),prior ([lifecycle_environment,None]),content_view ([activation_key,None]),lifecycle_environment ([activation_key,None])



32
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 32

attribute :params

#passwordString

Returns Password for user accessing Foreman server.

Returns:

  • (String)

    Password for user accessing Foreman server.



20
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 20

attribute :password

#server_urlString

Returns URL of Foreman server.

Returns:

  • (String)

    URL of Foreman server.



12
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 12

attribute :server_url

#task_timeoutInteger?

Returns The timeout in seconds to wait for the started Foreman action to finish.,If the timeout is reached and the Foreman action did not complete, the ansible task fails. However the foreman action does not get canceled.

Returns:

  • (Integer, nil)

    The timeout in seconds to wait for the started Foreman action to finish.,If the timeout is reached and the Foreman action did not complete, the ansible task fails. However the foreman action does not get canceled.



36
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 36

attribute :task_timeout

#usernameString

Returns Username on Foreman server.

Returns:

  • (String)

    Username on Foreman server.



16
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 16

attribute :username

#verify_sslSymbol?

Returns verify the ssl/https connection (e.g for a valid certificate).

Returns:

  • (Symbol, nil)

    verify the ssl/https connection (e.g for a valid certificate)



40
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 40

attribute :verify_ssl