refactor: restructure Ansible tasks for server and workstation setup for improved organization
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
This commit is contained in:
parent
f7c25a0ed2
commit
10ac4091e6
@ -1,15 +1,17 @@
|
|||||||
- name: Ensure server common packages are installed
|
- name: Server setup
|
||||||
|
block:
|
||||||
|
- name: Ensure server common packages are installed
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- openssh-server
|
- openssh-server
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Include cifs tasks
|
- name: Include cifs tasks
|
||||||
ansible.builtin.include_tasks: cifs.yml
|
ansible.builtin.include_tasks: cifs.yml
|
||||||
when: ansible_hostname == "mennos-cloud-server"
|
when: ansible_hostname == "mennos-cloud-server"
|
||||||
|
|
||||||
- name: Include services tasks
|
- name: Include services tasks
|
||||||
ansible.builtin.include_tasks: services/services.yml
|
ansible.builtin.include_tasks: services/services.yml
|
||||||
vars:
|
vars:
|
||||||
hoarder_enabled: true
|
hoarder_enabled: true
|
||||||
|
@ -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"
|
||||||
|
@ -1,38 +1,40 @@
|
|||||||
- name: Include workstation symlinks tasks
|
- name: Workstation Setup
|
||||||
|
block:
|
||||||
|
- name: Include workstation symlinks tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/symlinks.yml
|
ansible.builtin.import_tasks: tasks/workstations/symlinks.yml
|
||||||
|
|
||||||
- name: Include GNOME Extensions tasks
|
- name: Include GNOME Extensions tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/gnome-extensions.yml
|
ansible.builtin.import_tasks: tasks/workstations/gnome-extensions.yml
|
||||||
|
|
||||||
- name: Include flatpaks tasks
|
- name: Include flatpaks tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/flatpaks.yml
|
ansible.builtin.import_tasks: tasks/workstations/flatpaks.yml
|
||||||
|
|
||||||
- name: Include snaps tasks
|
- name: Include snaps tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/snaps.yml
|
ansible.builtin.import_tasks: tasks/workstations/snaps.yml
|
||||||
|
|
||||||
- name: Include VSCode tasks
|
- name: Include VSCode tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/vscode.yml
|
ansible.builtin.import_tasks: tasks/workstations/vscode.yml
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Include Zen browser tasks
|
- name: Include Zen browser tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/zen-browser.yml
|
ansible.builtin.import_tasks: tasks/workstations/zen-browser.yml
|
||||||
vars:
|
vars:
|
||||||
browser_name: "zen"
|
browser_name: "zen"
|
||||||
browser_executable: "zen"
|
browser_executable: "zen"
|
||||||
|
|
||||||
- name: Include 1Password Zen Browser tasks
|
- name: Include 1Password Zen Browser tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/1password-zen-browser.yml
|
ansible.builtin.import_tasks: tasks/workstations/1password-zen-browser.yml
|
||||||
|
|
||||||
- name: Include Firefox PWA tasks
|
- name: Include Firefox PWA tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/firefoxpwa.yml
|
ansible.builtin.import_tasks: tasks/workstations/firefoxpwa.yml
|
||||||
|
|
||||||
- name: Include Ulauncher tasks
|
- name: Include Ulauncher tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/ulauncher.yml
|
ansible.builtin.import_tasks: tasks/workstations/ulauncher.yml
|
||||||
|
|
||||||
- name: Include MegaSync tasks
|
- name: Include MegaSync tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/megasync.yml
|
ansible.builtin.import_tasks: tasks/workstations/megasync.yml
|
||||||
|
|
||||||
- name: Ensure workstation common packages are installed
|
- name: Ensure workstation common packages are installed
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
###### THE FOLLOWING PACKAGES ARE DISABLED DUE TO MISSING ON UBUNTU REPOS ######
|
###### THE FOLLOWING PACKAGES ARE DISABLED DUE TO MISSING ON UBUNTU REPOS ######
|
||||||
|
Loading…
x
Reference in New Issue
Block a user