Class: Ansible::Ruby::Modules::Atomic_image

Inherits:
Base show all
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

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

#backend:docker, ...

Returns Define the backend where the image is pulled.

Returns:

  • (:docker, :ostree, nil)

    Define the backend where the image is pulled.



13
# File 'lib/ansible/ruby/modules/generated/cloud/atomic/atomic_image.rb', line 13

attribute :backend

#nameString

Returns Name of the container image.

Returns:

  • (String)

    Name of the container image.



17
# File 'lib/ansible/ruby/modules/generated/cloud/atomic/atomic_image.rb', line 17

attribute :name

#started:yes, ...

Returns Start or Stop the container.

Returns:

  • (:yes, :no, nil)

    Start or Stop the container.



25
# File 'lib/ansible/ruby/modules/generated/cloud/atomic/atomic_image.rb', line 25

attribute :started

#state:absent, ...

Returns 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.

Returns:

  • (:absent, :latest, :present, nil)

    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.



21
# File 'lib/ansible/ruby/modules/generated/cloud/atomic/atomic_image.rb', line 21

attribute :state