Add Linux development station role with systemd services for code-server and OpenCode
- Implemented handlers for restarting code-server and OpenCode services. - Created main tasks for setting up a Linux development station, including user management, package installation, and configuration. - Added validation for OpenCode server credentials and code-server password. - Introduced tool package management for npm, uv, and go installers. - Developed templates for systemd service units for code-server and OpenCode. - Included scripts for starting code-server and OpenCode with SSH agent support. - Updated inventory and Terraform configuration to include new development host.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
cis_logind_conf: {}
|
||||
@@ -11,5 +11,4 @@
|
||||
notify:
|
||||
- Reload systemd
|
||||
tags:
|
||||
- systemd
|
||||
- logind
|
||||
- roles::cis::logind
|
||||
|
||||
@@ -6,3 +6,6 @@ KillExcludeUsers=root
|
||||
IdleAction=lock
|
||||
IdleActionSec=15min
|
||||
RemoveIPC=yes
|
||||
{% for key, value in cis_logind_conf.items() %}
|
||||
{{ key }}={{ value }}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user