Class: Ansible::Ruby::Modules::Pamd
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Pamd
- Defined in:
- lib/ansible/ruby/modules/generated/system/pamd.rb
Overview
Edit PAM service’s type, control, module path and module arguments. In order for a PAM rule to be modified, the type, control and module_path must match an existing rule. See man(5) pam.d for details.
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.
-
#control ⇒ String
The control of the PAM rule being modified.
-
#module_arguments ⇒ Array<String>, ...
When state is ‘updated’, the module_arguments will replace existing module_arguments.
-
#module_path ⇒ String
The module path of the PAM rule being modified.
-
#name ⇒ String
The name generally refers to the PAM service file to change, for example system-auth.
-
#new_control ⇒ String?
The new control to assign to the new rule.
-
#new_module_path ⇒ String?
The new module path to be assigned to the new rule.
-
#new_type ⇒ String?
The new type to assign to the new rule.
-
#path ⇒ String?
This is the path to the PAM service files.
-
#state ⇒ :updated, ...
The default of ‘updated’ will modify an existing rule if type, control and module_path all match an existing rule.
-
#type ⇒ String
The type of the PAM rule being modified.
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, ...
52 |
# File 'lib/ansible/ruby/modules/generated/system/pamd.rb', line 52 attribute :backup |
#control ⇒ String
20 |
# File 'lib/ansible/ruby/modules/generated/system/pamd.rb', line 20 attribute :control |
#module_arguments ⇒ Array<String>, ...
40 |
# File 'lib/ansible/ruby/modules/generated/system/pamd.rb', line 40 attribute :module_arguments |
#module_path ⇒ String
24 |
# File 'lib/ansible/ruby/modules/generated/system/pamd.rb', line 24 attribute :module_path |
#name ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/system/pamd.rb', line 12 attribute :name |
#new_control ⇒ String?
32 |
# File 'lib/ansible/ruby/modules/generated/system/pamd.rb', line 32 attribute :new_control |
#new_module_path ⇒ String?
36 |
# File 'lib/ansible/ruby/modules/generated/system/pamd.rb', line 36 attribute :new_module_path |
#new_type ⇒ String?
28 |
# File 'lib/ansible/ruby/modules/generated/system/pamd.rb', line 28 attribute :new_type |
#path ⇒ String?
48 |
# File 'lib/ansible/ruby/modules/generated/system/pamd.rb', line 48 attribute :path |
#state ⇒ :updated, ...
44 |
# File 'lib/ansible/ruby/modules/generated/system/pamd.rb', line 44 attribute :state |
#type ⇒ String
16 |
# File 'lib/ansible/ruby/modules/generated/system/pamd.rb', line 16 attribute :type |