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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/system/pam_limits.rb

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, #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.



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

attribute :backup

#commentString?

Returns Comment associated with the limit.

Returns:

  • (String, nil)

    Comment associated with the limit.



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

attribute :comment

#destString?

Returns Modify the limits.conf path.

Returns:

  • (String, nil)

    Modify the limits.conf path.



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

attribute :dest

#domainString

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

Returns:

  • (String)

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



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

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



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

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



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

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.



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

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.



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

attribute :use_min

#valueString

Returns The value of the limit.

Returns:

  • (String)

    The value of the limit.



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

attribute :value