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:
@@ -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
|
||||
Reference in New Issue
Block a user