Class: Ansible::Ruby::Modules::Capabilities
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Capabilities
- Defined in:
- lib/ansible/ruby/modules/generated/system/capabilities.rb
Overview
This module manipulates files privileges using the Linux capabilities(7) system.
Instance Method Summary collapse
-
#capability ⇒ String
Desired capability to set (with operator and flags, if state is C(present)) or remove (if state is C(absent)).
-
#path ⇒ String
Specifies the path to the file to be managed.
-
#state ⇒ :absent, ...
Whether the entry should be present or absent in the file’s capabilities.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#capability ⇒ String
Returns Desired capability to set (with operator and flags, if state is C(present)) or remove (if state is C(absent)).
16 |
# File 'lib/ansible/ruby/modules/generated/system/capabilities.rb', line 16 attribute :capability |
#path ⇒ String
Returns Specifies the path to the file to be managed.
12 |
# File 'lib/ansible/ruby/modules/generated/system/capabilities.rb', line 12 attribute :path |
#state ⇒ :absent, ...
Returns Whether the entry should be present or absent in the file’s capabilities.
20 |
# File 'lib/ansible/ruby/modules/generated/system/capabilities.rb', line 20 attribute :state |