Class: Ansible::Ruby::Modules::Acl

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/files/acl.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

#defaultBoolean?

Returns if the target is a directory, setting this to yes will make it the default acl for entities created inside the directory. It causes an error if name is a file.

Returns:

  • (Boolean, nil)

    if the target is a directory, setting this to yes will make it the default acl for entities created inside the directory. It causes an error if name is a file.



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

attribute :default

#entityString?

Returns actual user or group that the ACL applies to when matching entity types user or group are selected.

Returns:

  • (String, nil)

    actual user or group that the ACL applies to when matching entity types user or group are selected.



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

attribute :entity

#entryString?

Returns DEPRECATED. The acl to set or remove. This must always be quoted in the form of ‘<etype>:<qualifier>:<perms>’. The qualifier may be empty for some types, but the type and perms are always requried. ‘-’ can be used as placeholder when you do not care about permissions. This is now superseded by entity, type and permissions fields.

Returns:

  • (String, nil)

    DEPRECATED. The acl to set or remove. This must always be quoted in the form of ‘<etype>:<qualifier>:<perms>’. The qualifier may be empty for some types, but the type and perms are always requried. ‘-’ can be used as placeholder when you do not care about permissions. This is now superseded by entity, type and permissions fields.



38
# File 'lib/ansible/ruby/modules/generated/core/files/acl.rb', line 38

attribute :entry

#etype:user, ...

Returns the entity type of the ACL to apply, see setfacl documentation for more info.

Returns:

  • (:user, :group, :mask, :other, nil)

    the entity type of the ACL to apply, see setfacl documentation for more info.



30
# File 'lib/ansible/ruby/modules/generated/core/files/acl.rb', line 30

attribute :etype

#followBoolean?

Returns whether to follow symlinks on the path if a symlink is encountered.

Returns:

  • (Boolean, nil)

    whether to follow symlinks on the path if a symlink is encountered.



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

attribute :follow

#nameString

Returns The full path of the file or object.

Returns:

  • (String)

    The full path of the file or object.



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

attribute :name

#permissionsString?

Returns Permissions to apply/remove can be any combination of r, w and x (read, write and execute respectively).

Returns:

  • (String, nil)

    Permissions to apply/remove can be any combination of r, w and x (read, write and execute respectively)



34
# File 'lib/ansible/ruby/modules/generated/core/files/acl.rb', line 34

attribute :permissions

#recursiveBoolean?

Returns Recursively sets the specified ACL (added in Ansible 2.0). Incompatible with C(state=query).

Returns:

  • (Boolean, nil)

    Recursively sets the specified ACL (added in Ansible 2.0). Incompatible with C(state=query).



42
# File 'lib/ansible/ruby/modules/generated/core/files/acl.rb', line 42

attribute :recursive

#state:query, ...

Returns defines whether the ACL should be present or not. The C(query) state gets the current acl without changing it, for use in ‘register’ operations.

Returns:

  • (:query, :present, :absent, nil)

    defines whether the ACL should be present or not. The C(query) state gets the current acl without changing it, for use in ‘register’ operations.



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

attribute :state