Class: Ansible::Ruby::Modules::Xattr

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/files/xattr.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #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

#followBoolean?

Returns if yes, dereferences symlinks and sets/gets attributes on symlink target, otherwise acts on symlink itself.

Returns:

  • (Boolean, nil)

    if yes, dereferences symlinks and sets/gets attributes on symlink target, otherwise acts on symlink itself.



26
# File 'lib/ansible/ruby/modules/generated/core/files/xattr.rb', line 26

attribute :follow

#keyString?

Returns The name of a specific Extended attribute key to set/retrieve.

Returns:

  • (String, nil)

    The name of a specific Extended attribute key to set/retrieve



14
# File 'lib/ansible/ruby/modules/generated/core/files/xattr.rb', line 14

attribute :key

#nameString

Returns The full path of the file/object to get the facts of.

Returns:

  • (String)

    The full path of the file/object to get the facts of



10
# File 'lib/ansible/ruby/modules/generated/core/files/xattr.rb', line 10

attribute :name

#state:read, ...

Returns defines which state you want to do. C(read) retrieves the current value for a C(key) (default) C(present) sets C(name) to C(value), default if value is set C(all) dumps all data C(keys) retrieves all keys C(absent) deletes the key.

Returns:

  • (:read, :present, :all, :keys, :absent, nil)

    defines which state you want to do. C(read) retrieves the current value for a C(key) (default) C(present) sets C(name) to C(value), default if value is set C(all) dumps all data C(keys) retrieves all keys C(absent) deletes the key



22
# File 'lib/ansible/ruby/modules/generated/core/files/xattr.rb', line 22

attribute :state

#valueString?

Returns The value to set the named name/key to, it automatically sets the C(state) to ‘set’.

Returns:

  • (String, nil)

    The value to set the named name/key to, it automatically sets the C(state) to ‘set’



18
# File 'lib/ansible/ruby/modules/generated/core/files/xattr.rb', line 18

attribute :value