refactor: restructure Ansible tasks for server and workstation setup for improved organization
Some checks failed
Nix Format Check / check-format (push) Failing after 38s

This commit is contained in:
Menno van Leeuwen 2025-03-11 21:11:35 +01:00
parent f7c25a0ed2
commit 10ac4091e6
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE
3 changed files with 68 additions and 64 deletions

View File

@ -1,3 +1,5 @@
- name: Server setup
block:
- name: Ensure server common packages are installed - name: Ensure server common packages are installed
ansible.builtin.package: ansible.builtin.package:
name: name:

View File

@ -4,7 +4,7 @@ services:
image: ghcr.io/tailscale/golink:main image: ghcr.io/tailscale/golink:main
user: root user: root
environment: environment:
- TS_AUTHKEY={{ lookup('onepassword', "op://j7nmhqlsjmp2r6umly5t75hzb4/GoLink/TS_AUTHKEY") }} - TS_AUTHKEY={{ lookup('onepassword', 'op://j7nmhqlsjmp2r6umly5t75hzb4/GoLink/TS_AUTHKEY') }}
volumes: volumes:
- {{ golink_data_dir }}:/home/nonroot - {{ golink_data_dir }}:/home/nonroot
restart: "unless-stopped" restart: "unless-stopped"

View File

@ -1,3 +1,5 @@
- name: Workstation Setup
block:
- name: Include workstation symlinks tasks - name: Include workstation symlinks tasks
ansible.builtin.import_tasks: tasks/workstations/symlinks.yml ansible.builtin.import_tasks: tasks/workstations/symlinks.yml