Files
a13labs.infra/ansible/roles/macos_dev_station/templates/code-server.plist.j2
T
alexandre.pires 040f7a382f Add macOS development station playbook and role
- Created a new Ansible playbook for configuring macOS development stations.
- Added role `macos_dev_station` with default variables, handlers, and tasks.
- Implemented tasks for installing Homebrew packages, managing user configurations, and setting up launch agents for code-server and opencode.
- Included templates for launchd plist files and startup scripts for code-server and opencode.
- Added validation for required environment variables and configurations.
- Updated inventory to include macOS hosts and added a setup script for initial prerequisites.
- Modified Terraform configuration to include DNS records for new services.
2026-07-04 15:37:35 +02:00

41 lines
1.1 KiB
Django/Jinja

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.a13labs.code-server</string>
<key>UserName</key>
<string>{{ macos_dev_station_service_user }}</string>
<key>WorkingDirectory</key>
<string>{{ macos_dev_station_workspace_dir }}</string>
<key>ProgramArguments</key>
<array>
<string>/bin/bash</string>
<string>{{ macos_dev_station_scripts_dir }}/start-ide.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>StandardOutPath</key>
<string>{{ macos_dev_station_logs_dir }}/code-server.log</string>
<key>StandardErrorPath</key>
<string>{{ macos_dev_station_logs_dir }}/code-server.err.log</string>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>{{ macos_dev_station_path }}</string>
<key>PASSWORD</key>
<string>{{ macos_dev_station_code_server_password }}</string>
</dict>
</dict>
</plist>