Class: Ansible::Ruby::Modules::Win_service
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_service
- Defined in:
- lib/ansible/ruby/modules/generated/core/windows/win_service.rb
Instance Method Summary collapse
-
#name ⇒ Object
Name of the service.
-
#start_mode ⇒ :auto, ...
Set the startup type for the service.
-
#state ⇒ :started, ...
C(started)/C(stopped) are idempotent actions that will not run commands unless necessary.
Methods inherited from Base
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
#name ⇒ Object
Returns Name of the service.
10 |
# File 'lib/ansible/ruby/modules/generated/core/windows/win_service.rb', line 10 attribute :name |
#start_mode ⇒ :auto, ...
Returns Set the startup type for the service.
14 |
# File 'lib/ansible/ruby/modules/generated/core/windows/win_service.rb', line 14 attribute :start_mode |
#state ⇒ :started, ...
Returns C(started)/C(stopped) are idempotent actions that will not run commands unless necessary. C(restarted) will always bounce the service.
18 |
# File 'lib/ansible/ruby/modules/generated/core/windows/win_service.rb', line 18 attribute :state |