Class: Ansible::Ruby::Modules::Alternatives

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/system/alternatives.rb

Overview

Manages symbolic links using the ‘update-alternatives’ tool Useful when multiple programs are installed but provide similar functionality (e.g. different editors).

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, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

Returns The path to the symbolic link that should point to the real executable.,This option is required on RHEL-based distributions.

Returns:

  • (String, nil)

    The path to the symbolic link that should point to the real executable.,This option is required on RHEL-based distributions



20
# File 'lib/ansible/ruby/modules/generated/extras/system/alternatives.rb', line 20

attribute :link

#nameString

Returns The generic name of the link.

Returns:

  • (String)

    The generic name of the link.



12
# File 'lib/ansible/ruby/modules/generated/extras/system/alternatives.rb', line 12

attribute :name

#pathString

Returns The path to the real executable that the link should point to.

Returns:

  • (String)

    The path to the real executable that the link should point to.



16
# File 'lib/ansible/ruby/modules/generated/extras/system/alternatives.rb', line 16

attribute :path