Class: Ansible::Ruby::Modules::Acl
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Acl
- Defined in:
- lib/ansible/ruby/modules/generated/core/files/acl.rb
Instance Method Summary collapse
-
#default ⇒ Boolean?
If the target is a directory, setting this to yes will make it the default acl for entities created inside the directory.
-
#entity ⇒ String?
Actual user or group that the ACL applies to when matching entity types user or group are selected.
-
#entry ⇒ String?
DEPRECATED.
-
#etype ⇒ :user, ...
The entity type of the ACL to apply, see setfacl documentation for more info.
-
#follow ⇒ Boolean?
Whether to follow symlinks on the path if a symlink is encountered.
-
#name ⇒ String
The full path of the file or object.
-
#permissions ⇒ String?
Permissions to apply/remove can be any combination of r, w and x (read, write and execute respectively).
-
#recursive ⇒ Boolean?
Recursively sets the specified ACL (added in Ansible 2.0).
-
#state ⇒ :query, ...
Defines whether the ACL should be present or not.
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
#default ⇒ Boolean?
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.
22 |
# File 'lib/ansible/ruby/modules/generated/core/files/acl.rb', line 22 attribute :default |
#entity ⇒ String?
Returns 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 |
#entry ⇒ String?
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.
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.
30 |
# File 'lib/ansible/ruby/modules/generated/core/files/acl.rb', line 30 attribute :etype |
#follow ⇒ Boolean?
Returns 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 |
#name ⇒ String
Returns The full path of the file or object.
10 |
# File 'lib/ansible/ruby/modules/generated/core/files/acl.rb', line 10 attribute :name |
#permissions ⇒ String?
Returns 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 |
#recursive ⇒ Boolean?
Returns 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.
14 |
# File 'lib/ansible/ruby/modules/generated/core/files/acl.rb', line 14 attribute :state |