Class: Ansible::Ruby::Modules::Pam_limits

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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.

Returns:

  • (:yes, :no, nil)

    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

#commentString?

Returns Comment associated with the limit.

Returns:

  • (String, nil)

    Comment associated with the limit.



43
# File 'lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb', line 43

attribute :comment

#destString?

Returns Modify the limits.conf path.

Returns:

  • (String, nil)

    Modify the limits.conf path.



39
# File 'lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb', line 39

attribute :dest

#domainString

Returns A username, @groupname, wildcard, uid/gid range.

Returns:

  • (String)

    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.

Returns:

  • (:core, :data, :fsize, :memlock, :nofile, :rss, :stack, :cpu, :nproc, :as, :maxlogins, :maxsyslogins, :priority, :locks, :sigpending, :msgqueue, :nice, :rtprio, :chroot)

    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.

Returns:

  • (:hard, :soft, :-)

    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.

Returns:

  • (:yes, :no, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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

#valueString

Returns The value of the limit.

Returns:

  • (String)

    The value of the limit.



23
# File 'lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb', line 23

attribute :value