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.
15 lines
307 B
YAML
15 lines
307 B
YAML
---
|
|
- 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
|