Class: Ansible::Ruby::Modules::Zfs

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/system/zfs.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

#key_valueObject?

Returns The C(zfs) module takes key=value pairs for zfs properties to be set. See the zfs(8) man page for more information.

Returns:

  • (Object, nil)

    The C(zfs) module takes key=value pairs for zfs properties to be set. See the zfs(8) man page for more information.



22
# File 'lib/ansible/ruby/modules/generated/extras/system/zfs.rb', line 22

attribute :key_value

#nameString

Returns File system, snapshot or volume name e.g. C(rpool/myfs).

Returns:

  • (String)

    File system, snapshot or volume name e.g. C(rpool/myfs)



10
# File 'lib/ansible/ruby/modules/generated/extras/system/zfs.rb', line 10

attribute :name

#originString?

Returns Snapshot from which to create a clone.

Returns:

  • (String, nil)

    Snapshot from which to create a clone



18
# File 'lib/ansible/ruby/modules/generated/extras/system/zfs.rb', line 18

attribute :origin

#state:present, :absent

Returns Whether to create (C(present)), or remove (C(absent)) a file system, snapshot or volume. All parents/children will be created/destroyed as needed to reach the desired state.

Returns:

  • (:present, :absent)

    Whether to create (C(present)), or remove (C(absent)) a file system, snapshot or volume. All parents/children will be created/destroyed as needed to reach the desired state.



14
# File 'lib/ansible/ruby/modules/generated/extras/system/zfs.rb', line 14

attribute :state