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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/system/capabilities.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

#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))



14
# File 'lib/ansible/ruby/modules/generated/extras/system/capabilities.rb', line 14

attribute :capability

#pathString

Returns Specifies the path to the file to be managed.

Returns:

  • (String)

    Specifies the path to the file to be managed.



10
# File 'lib/ansible/ruby/modules/generated/extras/system/capabilities.rb', line 10

attribute :path

#state:present, ...

Returns Whether the entry should be present or absent in the file’s capabilities.

Returns:

  • (:present, :absent, nil)

    Whether the entry should be present or absent in the file’s capabilities.



18
# File 'lib/ansible/ruby/modules/generated/extras/system/capabilities.rb', line 18

attribute :state