Class: Ansible::Ruby::Modules::Digital_ocean_image_facts

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_image_facts.rb

Overview

This module can be used to gather facts about DigitalOcean provided images. These images can be either of type C(distribution), C(application) and C(private).

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

#image_type:all, ...

Returns Specifies the type of image facts to be retrived.,If set to C(application), then facts are gathered related to all application images.,If set to C(distribution), then facts are gathered related to all distribution images.,If set to C(private), then facts are gathered related to all private images.,If not set to any of above, then facts are gathered related to all images.

Returns:

  • (:all, :application, :distribution, :private, nil)

    Specifies the type of image facts to be retrived.,If set to C(application), then facts are gathered related to all application images.,If set to C(distribution), then facts are gathered related to all distribution images.,If set to C(private), then facts are gathered related to all private images.,If not set to any of above, then facts are gathered related to all images.



13
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_image_facts.rb', line 13

attribute :image_type