Class: Ansible::Ruby::Modules::Solaris_zone
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Solaris_zone
- Defined in:
- lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb
Overview
Create, start, stop and delete Solaris zones. This module doesn’t currently allow changing of options for a zone that’s already been created.
Instance Method Summary collapse
-
#attach_options ⇒ String?
Extra options to the zoneadm attach command.
-
#config ⇒ String?
The zonecfg configuration commands for this zone.
-
#create_options ⇒ String?
Extra options to the zonecfg(1M) create command.
-
#install_options ⇒ String?
Extra options to the zoneadm(1M) install command.
-
#name ⇒ Object
Zone name.
-
#path ⇒ Object?
The path where the zone will be created.
-
#root_password ⇒ Object?
The password hash for the root account.
-
#sparse ⇒ Boolean?
Whether to create a sparse (C(true)) or whole root (C(false)) zone.
-
#state ⇒ :present, ...
C(present), configure and install the zone.,C(installed), synonym for C(present).,C(running), if the zone already exists, boot it, otherwise, configure and install the zone first, then boot it.,C(started), synonym for C(running).,C(stopped), shutdown a zone.,C(absent), destroy the zone.,C(configured), configure the ready so that it’s to be attached.,C(attached), attach a zone, but do not boot it.,C(detached), shutdown and detach a zone.
-
#timeout ⇒ Integer?
Timeout, in seconds, for zone to boot.
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
#attach_options ⇒ String?
41 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 41 attribute :attach_options |
#config ⇒ String?
29 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 29 attribute :config |
#create_options ⇒ String?
33 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 33 attribute :create_options |
#install_options ⇒ String?
37 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 37 attribute :install_options |
#name ⇒ Object
15 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 15 attribute :name |
#path ⇒ Object?
19 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 19 attribute :path |
#root_password ⇒ Object?
26 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 26 attribute :root_password |
#sparse ⇒ Boolean?
22 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 22 attribute :sparse |
#state ⇒ :present, ...
11 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 11 attribute :state |
#timeout ⇒ Integer?
45 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 45 attribute :timeout |