Class: Ansible::Ruby::Modules::Selinux
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Selinux
- Defined in:
- lib/ansible/ruby/modules/generated/system/selinux.rb
Overview
Configures the SELinux mode and policy. A reboot may be required after usage. Ansible will not issue this reboot but will let you know when it is required.
Instance Method Summary collapse
-
#conf ⇒ String?
Path to the SELinux configuration file, if non-standard.
-
#policy ⇒ String?
Name of the SELinux policy to use (example: C(targeted)) will be required if state is not C(disabled).
-
#state ⇒ :enforcing, ...
The SELinux mode.
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
#conf ⇒ String?
Returns path to the SELinux configuration file, if non-standard.
20 |
# File 'lib/ansible/ruby/modules/generated/system/selinux.rb', line 20 attribute :conf |
#policy ⇒ String?
Returns name of the SELinux policy to use (example: C(targeted)) will be required if state is not C(disabled).
12 |
# File 'lib/ansible/ruby/modules/generated/system/selinux.rb', line 12 attribute :policy |
#state ⇒ :enforcing, ...
Returns The SELinux mode.
16 |
# File 'lib/ansible/ruby/modules/generated/system/selinux.rb', line 16 attribute :state |