Class: Ansible::Ruby::Modules::Katello
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Katello
- 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
-
#action ⇒ :sync, ...
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).
-
#entity ⇒ :repository, ...
The Foreman resource that the action will be performed on (e.g. organization, host).
-
#params ⇒ 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]).
-
#password ⇒ String
Password for user accessing Foreman server.
-
#server_url ⇒ String
URL of Foreman server.
-
#task_timeout ⇒ Integer?
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.
-
#username ⇒ String
Username on Foreman server.
-
#verify_ssl ⇒ Symbol?
Verify the ssl/https connection (e.g for a valid certificate).
Methods inherited from Base
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).
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).
24 |
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 24 attribute :entity |
#params ⇒ Hash
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]).
32 |
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 32 attribute :params |
#password ⇒ String
Returns Password for user accessing Foreman server.
20 |
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 20 attribute :password |
#server_url ⇒ String
Returns URL of Foreman server.
12 |
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 12 attribute :server_url |
#task_timeout ⇒ Integer?
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.
36 |
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 36 attribute :task_timeout |
#username ⇒ String
Returns Username on Foreman server.
16 |
# File 'lib/ansible/ruby/modules/generated/remote_management/foreman/katello.rb', line 16 attribute :username |
#verify_ssl ⇒ Symbol?
Returns 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 |