Class: Ansible::Ruby::Modules::Capabilities

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#capabilityString

Returns Desired capability to set (with operator and flags, if state is C(present)) or remove (if state is C(absent)).

Returns:

  • (String)

    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

#pathString

Returns Specifies the path to the file to be managed.

Returns:

  • (String)

    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.

Returns:

  • (:absent, :present, nil)

    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