Class: Ansible::Ruby::Modules::Alternatives
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Alternatives
- Defined in:
- lib/ansible/ruby/modules/generated/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 always 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.
-
#priority ⇒ Integer?
The priority of the alternative.
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 always required on RHEL-based distributions. On Debian-based distributions this option is required when the alternative I(name) is unknown to the system.
21 |
# File 'lib/ansible/ruby/modules/generated/system/alternatives.rb', line 21 attribute :link |
#name ⇒ String
Returns The generic name of the link.
13 |
# File 'lib/ansible/ruby/modules/generated/system/alternatives.rb', line 13 attribute :name |
#path ⇒ String
Returns The path to the real executable that the link should point to.
17 |
# File 'lib/ansible/ruby/modules/generated/system/alternatives.rb', line 17 attribute :path |
#priority ⇒ Integer?
Returns The priority of the alternative.
25 |
# File 'lib/ansible/ruby/modules/generated/system/alternatives.rb', line 25 attribute :priority |