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
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, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#attach_options ⇒ String?
Returns Extra options to the zoneadm attach command. For example, this can be used to specify whether a minimum or full update of packages is required and if any packages need to be deleted. For valid values, see zoneadm(1M).
40 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 40 attribute :attach_options |
#config ⇒ String?
Returns The zonecfg configuration commands for this zone. See zonecfg(1M) for the valid options and syntax. Typically this is a list of options separated by semi-colons or new lines, e.g. “set auto-boot=true;add net;set physical=bge0;set address=10.1.1.1;end”.
28 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 28 attribute :config |
#create_options ⇒ String?
Returns Extra options to the zonecfg(1M) create command.
32 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 32 attribute :create_options |
#install_options ⇒ String?
Returns Extra options to the zoneadm(1M) install command. To automate Solaris 11 zone creation, use this to specify the profile XML file, e.g. install_options=“-c sc_profile.xml”.
36 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 36 attribute :install_options |
#name ⇒ Object
Returns Zone name.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 14 attribute :name |
#path ⇒ Object?
Returns The path where the zone will be created. This is required when the zone is created, but not used otherwise.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 18 attribute :path |
#root_password ⇒ Object?
Returns The password hash for the root account. If not specified, the zone’s root account will not have a password.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 25 attribute :root_password |
#sparse ⇒ Boolean?
Returns Whether to create a sparse (C(true)) or whole root (C(false)) zone.
21 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 21 attribute :sparse |
#state ⇒ :present, ...
Returns 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.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 10 attribute :state |
#timeout ⇒ Integer?
Returns Timeout, in seconds, for zone to boot.
44 |
# File 'lib/ansible/ruby/modules/generated/extras/system/solaris_zone.rb', line 44 attribute :timeout |