Class: Ansible::Ruby::Modules::Rax
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rax
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb
Overview
creates / deletes a Rackspace Public Cloud instance and optionally waits for it to be ‘running’.
Instance Method Summary collapse
-
#auto_increment ⇒ :yes, ...
Whether or not to increment a single number with the name of the created servers.
-
#boot_from_volume ⇒ :yes, ...
Whether or not to boot the instance from a Cloud Block Storage volume.
-
#boot_volume ⇒ Object?
Cloud Block Storage ID or Name to use as the boot volume of the instance.
-
#boot_volume_size ⇒ Integer?
Size of the volume to create in Gigabytes.
-
#boot_volume_terminate ⇒ :yes, ...
Whether the I(boot_volume) or newly created volume from I(image) will be terminated when the server is terminated.
-
#config_drive ⇒ :yes, ...
Attach read-only configuration drive to server as label config-2.
-
#count ⇒ Integer?
Number of instances to launch.
-
#count_offset ⇒ Integer?
Number count to start at.
-
#disk_config ⇒ :auto, ...
Disk partitioning strategy.
-
#exact_count ⇒ :yes, ...
Explicitly ensure an exact count of instances, used with state=active/present.
-
#extra_client_args ⇒ Object?
A hash of key/value pairs to be used when creating the cloudservers client.
-
#extra_create_args ⇒ Object?
A hash of key/value pairs to be used when creating a new server.
-
#files ⇒ Object?
Files to insert into the instance.
-
#flavor ⇒ Object?
Flavor to use for the instance.
-
#group ⇒ Object?
Host group to assign to server, is also used for idempotent operations to ensure a specific number of instances.
-
#image ⇒ Object?
Image to use for the instance.
-
#instance_ids ⇒ Object?
List of instance ids, currently only used when state=‘absent’ to remove instances.
-
#key_name ⇒ Object?
Key pair to use on the instance.
-
#meta ⇒ Object?
A hash of metadata to associate with the instance.
-
#name ⇒ String?
Name to give the instance.
-
#networks ⇒ String?
The network to attach to the instances.
-
#state ⇒ :present, ...
Indicate desired state of the resource.
-
#user_data ⇒ Object?
Data to be uploaded to the servers config drive.
-
#wait ⇒ :yes, ...
Wait for the instance to be in state ‘running’ before returning.
-
#wait_timeout ⇒ Integer?
How long before wait gives up, in seconds.
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
#auto_increment ⇒ :yes, ...
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 12 attribute :auto_increment |
#boot_from_volume ⇒ :yes, ...
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 16 attribute :boot_from_volume |
#boot_volume ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 20 attribute :boot_volume |
#boot_volume_size ⇒ Integer?
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 23 attribute :boot_volume_size |
#boot_volume_terminate ⇒ :yes, ...
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 27 attribute :boot_volume_terminate |
#config_drive ⇒ :yes, ...
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 31 attribute :config_drive |
#count ⇒ Integer?
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 35 attribute :count |
#count_offset ⇒ Integer?
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 39 attribute :count_offset |
#disk_config ⇒ :auto, ...
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 43 attribute :disk_config |
#exact_count ⇒ :yes, ...
47 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 47 attribute :exact_count |
#extra_client_args ⇒ Object?
51 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 51 attribute :extra_client_args |
#extra_create_args ⇒ Object?
54 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 54 attribute :extra_create_args |
#files ⇒ Object?
57 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 57 attribute :files |
#flavor ⇒ Object?
60 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 60 attribute :flavor |
#group ⇒ Object?
63 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 63 attribute :group |
#image ⇒ Object?
66 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 66 attribute :image |
#instance_ids ⇒ Object?
69 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 69 attribute :instance_ids |
#key_name ⇒ Object?
72 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 72 attribute :key_name |
#meta ⇒ Object?
75 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 75 attribute :meta |
#name ⇒ String?
78 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 78 attribute :name |
#networks ⇒ String?
82 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 82 attribute :networks |
#state ⇒ :present, ...
86 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 86 attribute :state |
#user_data ⇒ Object?
90 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 90 attribute :user_data |
#wait ⇒ :yes, ...
93 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 93 attribute :wait |
#wait_timeout ⇒ Integer?
97 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax.rb', line 97 attribute :wait_timeout |