59b2c10c43
- Implemented handlers for restarting code-server and OpenCode services. - Created main tasks for setting up a Linux development station, including user management, package installation, and configuration. - Added validation for OpenCode server credentials and code-server password. - Introduced tool package management for npm, uv, and go installers. - Developed templates for systemd service units for code-server and OpenCode. - Included scripts for starting code-server and OpenCode with SSH agent support. - Updated inventory and Terraform configuration to include new development host.
15 lines
323 B
YAML
15 lines
323 B
YAML
---
|
|
- name: Configure Linux dev station
|
|
hosts: linux_dev
|
|
gather_facts: true
|
|
|
|
pre_tasks:
|
|
- name: Ensure target is Fedora
|
|
ansible.builtin.assert:
|
|
that:
|
|
- ansible_facts['distribution'] == "Fedora"
|
|
fail_msg: "This playbook supports Fedora hosts only"
|
|
|
|
roles:
|
|
- linux_dev_station
|