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/system/pam_limits.rb
Overview
The C(pam_limits) module modifies PAM limits. The default file is C(/etc/security/limits.conf). For the full documentation, see C(man 5 limits.conf).
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 5 limits.conf) 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 ⇒ Integer, String
The value of the limit.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #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.
28 |
# File 'lib/ansible/ruby/modules/generated/system/pam_limits.rb', line 28 attribute :backup |
#comment ⇒ String?
Returns Comment associated with the limit.
44 |
# File 'lib/ansible/ruby/modules/generated/system/pam_limits.rb', line 44 attribute :comment |
#dest ⇒ String?
Returns Modify the limits.conf path.
40 |
# File 'lib/ansible/ruby/modules/generated/system/pam_limits.rb', line 40 attribute :dest |
#domain ⇒ String
Returns A username, @groupname, wildcard, uid/gid range.
12 |
# File 'lib/ansible/ruby/modules/generated/system/pam_limits.rb', line 12 attribute :domain |
#limit_item ⇒ :core, ...
Returns The limit to be set.
20 |
# File 'lib/ansible/ruby/modules/generated/system/pam_limits.rb', line 20 attribute :limit_item |
#limit_type ⇒ :hard, ...
Returns Limit type, see C(man 5 limits.conf) for an explanation.
16 |
# File 'lib/ansible/ruby/modules/generated/system/pam_limits.rb', line 16 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.
36 |
# File 'lib/ansible/ruby/modules/generated/system/pam_limits.rb', line 36 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.
32 |
# File 'lib/ansible/ruby/modules/generated/system/pam_limits.rb', line 32 attribute :use_min |
#value ⇒ Integer, String
Returns The value of the limit.
24 |
# File 'lib/ansible/ruby/modules/generated/system/pam_limits.rb', line 24 attribute :value |