Class: Ansible::Ruby::Modules::Openwrt_init
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Openwrt_init
- Defined in:
- lib/ansible/ruby/modules/generated/system/openwrt_init.rb
Overview
Controls OpenWrt services on remote hosts.
Instance Method Summary collapse
-
#enabled ⇒ Symbol?
Whether the service should start on boot.
-
#name ⇒ String
Name of the service.
-
#pattern ⇒ Object?
If the service does not respond to the ‘running’ command, name a substring to look for as would be found in the output of the I(ps) command as a stand-in for a ‘running’ result.
-
#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, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#enabled ⇒ Symbol?
20 |
# File 'lib/ansible/ruby/modules/generated/system/openwrt_init.rb', line 20 attribute :enabled |
#name ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/system/openwrt_init.rb', line 12 attribute :name |
#pattern ⇒ Object?
24 |
# File 'lib/ansible/ruby/modules/generated/system/openwrt_init.rb', line 24 attribute :pattern |
#state ⇒ :started, ...
16 |
# File 'lib/ansible/ruby/modules/generated/system/openwrt_init.rb', line 16 attribute :state |