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.
This commit is contained in:
2026-07-04 15:37:35 +02:00
parent dfeaea3283
commit 040f7a382f
16 changed files with 1177 additions and 18 deletions
+14
View File
@@ -0,0 +1,14 @@
---
- name: Configure macOS dev station
hosts: darwin_dev
gather_facts: true
pre_tasks:
- name: Ensure target is macOS
ansible.builtin.assert:
that:
- ansible_system == "Darwin"
fail_msg: "This playbook supports macOS hosts only"
roles:
- macos_dev_station