Class: Ansible::Ruby::Modules::Pam_limits
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Pam_limits
- Defined in:
- lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb
Overview
The M(pam_limits) module modify PAM limits, default in /etc/security/limits.conf. For the full documentation, see man limits.conf(5).
Instance Method Summary collapse
-
#backup ⇒ :yes, ...
Create a backup file including the timestamp information so you can get the original file back if you somehow clobbered it incorrectly.
-
#comment ⇒ String?
Comment associated with the limit.
-
#dest ⇒ String?
Modify the limits.conf path.
-
#domain ⇒ String
A username, @groupname, wildcard, uid/gid range.
-
#limit_item ⇒ :core, ...
The limit to be set.
-
#limit_type ⇒ :hard, ...
Limit type, see C(man limits) for an explanation.
-
#use_max ⇒ :yes, ...
If set to C(yes), the maximal value will be used or conserved.
-
#use_min ⇒ :yes, ...
If set to C(yes), the minimal value will be used or conserved.
-
#value ⇒ String
The value of the limit.
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
#backup ⇒ :yes, ...
Returns Create a backup file including the timestamp information so you can get the original file back if you somehow clobbered it incorrectly.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb', line 27 attribute :backup |
#comment ⇒ String?
Returns Comment associated with the limit.
43 |
# File 'lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb', line 43 attribute :comment |
#dest ⇒ String?
Returns Modify the limits.conf path.
39 |
# File 'lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb', line 39 attribute :dest |
#domain ⇒ String
Returns A username, @groupname, wildcard, uid/gid range.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb', line 11 attribute :domain |
#limit_item ⇒ :core, ...
Returns The limit to be set.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb', line 19 attribute :limit_item |
#limit_type ⇒ :hard, ...
Returns Limit type, see C(man limits) for an explanation.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb', line 15 attribute :limit_type |
#use_max ⇒ :yes, ...
Returns If set to C(yes), the maximal value will be used or conserved. If the specified value is superior to the value in the file, file content is replaced with the new value, else content is not modified.
35 |
# File 'lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb', line 35 attribute :use_max |
#use_min ⇒ :yes, ...
Returns If set to C(yes), the minimal value will be used or conserved. If the specified value is inferior to the value in the file, file content is replaced with the new value, else content is not modified.
31 |
# File 'lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb', line 31 attribute :use_min |
#value ⇒ String
Returns The value of the limit.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb', line 23 attribute :value |