Class: Ansible::Ruby::Modules::Alternatives
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Alternatives
- 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
-
#link ⇒ String?
The path to the symbolic link that should point to the real executable.,This option is required on RHEL-based distributions.
-
#name ⇒ String
The generic name of the link.
-
#path ⇒ String
The path to the real executable that the link should point to.
Methods inherited from Base
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
#link ⇒ String?
Returns 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 |
#name ⇒ String
Returns The generic name of the link.
12 |
# File 'lib/ansible/ruby/modules/generated/extras/system/alternatives.rb', line 12 attribute :name |
#path ⇒ String
Returns 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 |