mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Renamed general and mode constants and implemented a check to verify that constants are just defined ones over the whole repository
This commit is contained in:
@@ -19,7 +19,7 @@ This Ansible role configures the OpenSSH daemon (`sshd`) by deploying a template
|
||||
- **Security Defaults**
|
||||
- Disables password (`PasswordAuthentication no`) and root login (`PermitRootLogin no`)
|
||||
- Enforces public-key authentication (`PubkeyAuthentication yes`)
|
||||
- Conditionally sets `LogLevel` to `DEBUG3` when `enable_debug` is true
|
||||
- Conditionally sets `LogLevel` to `DEBUG3` when `MODE_DEBUG` is true
|
||||
|
||||
- **Systemd Integration**
|
||||
Handles daemon reload and service restart seamlessly on configuration changes.
|
||||
|
@@ -25,7 +25,7 @@
|
||||
|
||||
# Logging
|
||||
#SyslogFacility AUTH
|
||||
LogLevel {% if enable_debug | bool %}DEBUG3{% else %}INFO{% endif %}
|
||||
LogLevel {% if MODE_DEBUG | bool %}DEBUG3{% else %}INFO{% endif %}
|
||||
|
||||
# Authentication:
|
||||
|
||||
|
Reference in New Issue
Block a user