Class: Ansible::Ruby::Modules::Sysctl
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Sysctl
- Defined in:
- lib/ansible/ruby/modules/generated/core/system/sysctl.rb
Instance Method Summary collapse
-
#ignoreerrors ⇒ Boolean?
Use this option to ignore errors about unknown keys.
-
#name ⇒ String
The dot-separated path (aka I(key)) specifying the sysctl variable.
-
#reload ⇒ :yes, ...
If C(yes), performs a I(/sbin/sysctl -p) if the C(sysctl_file) is updated.
-
#state ⇒ :present, ...
Whether the entry should be present or absent in the sysctl file.
-
#sysctl_file ⇒ String?
Specifies the absolute path to C(sysctl.conf), if not C(/etc/sysctl.conf).
-
#sysctl_set ⇒ Boolean?
Verify token value with the sysctl command and set with -w if necessary.
-
#value ⇒ String?
Desired value of the sysctl key.
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
#ignoreerrors ⇒ Boolean?
Returns Use this option to ignore errors about unknown keys.
22 |
# File 'lib/ansible/ruby/modules/generated/core/system/sysctl.rb', line 22 attribute :ignoreerrors |
#name ⇒ String
Returns The dot-separated path (aka I(key)) specifying the sysctl variable.
10 |
# File 'lib/ansible/ruby/modules/generated/core/system/sysctl.rb', line 10 attribute :name |
#reload ⇒ :yes, ...
Returns If C(yes), performs a I(/sbin/sysctl -p) if the C(sysctl_file) is updated. If C(no), does not reload I(sysctl) even if the C(sysctl_file) is updated.
26 |
# File 'lib/ansible/ruby/modules/generated/core/system/sysctl.rb', line 26 attribute :reload |
#state ⇒ :present, ...
Returns Whether the entry should be present or absent in the sysctl file.
18 |
# File 'lib/ansible/ruby/modules/generated/core/system/sysctl.rb', line 18 attribute :state |
#sysctl_file ⇒ String?
Returns Specifies the absolute path to C(sysctl.conf), if not C(/etc/sysctl.conf).
30 |
# File 'lib/ansible/ruby/modules/generated/core/system/sysctl.rb', line 30 attribute :sysctl_file |
#sysctl_set ⇒ Boolean?
Returns Verify token value with the sysctl command and set with -w if necessary.
34 |
# File 'lib/ansible/ruby/modules/generated/core/system/sysctl.rb', line 34 attribute :sysctl_set |
#value ⇒ String?
Returns Desired value of the sysctl key.
14 |
# File 'lib/ansible/ruby/modules/generated/core/system/sysctl.rb', line 14 attribute :value |