Class: Ansible::Ruby::Modules::Atomic_image
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Atomic_image
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/atomic/atomic_image.rb
Overview
Manage the container images on the atomic host platform. Allows to execute the commands specified by the RUN label in the container image when present.
Instance Method Summary collapse
-
#backend ⇒ :docker, ...
Define the backend where the image is pulled.
-
#name ⇒ String
Name of the container image.
-
#started ⇒ :yes, ...
Start or Stop the container.
-
#state ⇒ :absent, ...
The state of the container image.,The state C(latest) will ensure container image is upgraded to the latest version and forcefully restart container, if running.
Methods inherited from Base
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
#backend ⇒ :docker, ...
13 |
# File 'lib/ansible/ruby/modules/generated/cloud/atomic/atomic_image.rb', line 13 attribute :backend |
#name ⇒ String
17 |
# File 'lib/ansible/ruby/modules/generated/cloud/atomic/atomic_image.rb', line 17 attribute :name |
#started ⇒ :yes, ...
25 |
# File 'lib/ansible/ruby/modules/generated/cloud/atomic/atomic_image.rb', line 25 attribute :started |
#state ⇒ :absent, ...
21 |
# File 'lib/ansible/ruby/modules/generated/cloud/atomic/atomic_image.rb', line 21 attribute :state |