040f7a382f
- 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.
12 lines
323 B
Django/Jinja
12 lines
323 B
Django/Jinja
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
cd {{ macos_dev_station_workspace_dir }}
|
|
|
|
exec code-server \
|
|
--bind-addr {{ macos_dev_station_code_server_host }}:{{ macos_dev_station_code_server_port }} \
|
|
--auth {{ macos_dev_station_code_server_auth }} \
|
|
--disable-telemetry \
|
|
{{ macos_dev_station_code_server_workspace }}
|