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,18 +1,20 @@
|
|||||||
- name: Ensure server common packages are installed
|
- name: Server setup
|
||||||
ansible.builtin.package:
|
block:
|
||||||
name:
|
- name: Ensure server common packages are installed
|
||||||
- openssh-server
|
ansible.builtin.package:
|
||||||
state: present
|
name:
|
||||||
become: true
|
- openssh-server
|
||||||
|
state: present
|
||||||
|
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
|
||||||
golink_enabled: true
|
golink_enabled: true
|
||||||
immich_enabled: false
|
immich_enabled: false
|
||||||
when: ansible_hostname == "mennos-cloud-server"
|
when: ansible_hostname == "mennos-cloud-server"
|
||||||
|
@ -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,57 +1,59 @@
|
|||||||
- name: Include workstation symlinks tasks
|
- name: Workstation Setup
|
||||||
ansible.builtin.import_tasks: tasks/workstations/symlinks.yml
|
block:
|
||||||
|
- name: Include workstation symlinks tasks
|
||||||
|
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 ######
|
||||||
# Steam and it's dependencies
|
# Steam and it's dependencies
|
||||||
# - steam
|
# - steam
|
||||||
# - steam-devices
|
# - steam-devices
|
||||||
################################################################################
|
################################################################################
|
||||||
# Statistics HUD for gaming
|
# Statistics HUD for gaming
|
||||||
- mangohud
|
- mangohud
|
||||||
# Used for VSCode Extensions
|
# Used for VSCode Extensions
|
||||||
- nodejs
|
- nodejs
|
||||||
# File Manager
|
# File Manager
|
||||||
- nemo
|
- nemo
|
||||||
# File Manager Extensions
|
# File Manager Extensions
|
||||||
- nemo-compare
|
- nemo-compare
|
||||||
- nemo-data
|
- nemo-data
|
||||||
- nemo-fileroller
|
- nemo-fileroller
|
||||||
- nemo-font-manager
|
- nemo-font-manager
|
||||||
- nemo-gtkhash
|
- nemo-gtkhash
|
||||||
- nemo-python
|
- nemo-python
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user