local, ensure all tasks which require connectivity list that, so that the rest can be run offline.

This commit is contained in:
me
2026-10-02 11:02:12 -07:00
parent 463a5fc4af
commit e38d86015f
+19 -1
View File
@@ -91,9 +91,11 @@
- include_tasks: tasks/general/software/swap.yml - include_tasks: tasks/general/software/swap.yml
- include_tasks: tasks/general/software/packages.yml - include_tasks: tasks/general/software/packages.yml
when: internet
- include_tasks: tasks/general/software/services.yml - include_tasks: tasks/general/software/services.yml
- include_tasks: tasks/general/software/sendmail.yml - include_tasks: tasks/general/software/sendmail.yml
when: ansible_system == "FreeBSD" when: ansible_system == "FreeBSD"
and internet
- include_tasks: tasks/general/software/aur.yml - include_tasks: tasks/general/software/aur.yml
when: internet and ansible_pkg_mgr == "pacman" when: internet and ansible_pkg_mgr == "pacman"
@@ -107,6 +109,10 @@
- include_tasks: tasks/general/acct_mgmt/users.yml - include_tasks: tasks/general/acct_mgmt/users.yml
- include_tasks: tasks/general/acct_mgmt/sudo.yml - include_tasks: tasks/general/acct_mgmt/sudo.yml
- include_tasks: tasks/general/acct_mgmt/doas.yml - include_tasks: tasks/general/acct_mgmt/doas.yml
when: internet
- include_tasks: tasks/general/software/env-shared.yml
when: internet
- include_tasks: tasks/general/scripts/root.yml - include_tasks: tasks/general/scripts/root.yml
- include_tasks: tasks/general/scripts/user.yml - include_tasks: tasks/general/scripts/user.yml
@@ -119,6 +125,7 @@
when: ansible_system == "FreeBSD" when: ansible_system == "FreeBSD"
- include_tasks: tasks/general/software/metasploit.yml - include_tasks: tasks/general/software/metasploit.yml
when: internet
when: provision when: provision
@@ -132,15 +139,20 @@
## Desktop Environments ## ## Desktop Environments ##
- include_tasks: tasks/workstation/freebsd/software/gpu.yml - include_tasks: tasks/workstation/freebsd/software/gpu.yml
when: ansible_system == "FreeBSD" and bsd_gpu when: ansible_system == "FreeBSD"
and bsd_gpu
and internet
# Window Managers without true Desktop Environments # # Window Managers without true Desktop Environments #
- include_tasks: tasks/workstation/shared/software/dwm.yml - include_tasks: tasks/workstation/shared/software/dwm.yml
when: internet
- include_tasks: tasks/workstation/shared/software/i3.yml - include_tasks: tasks/workstation/shared/software/i3.yml
when: internet
# Polished Desktop Environments # # Polished Desktop Environments #
- include_tasks: tasks/workstation/freebsd/software/gnome.yml - include_tasks: tasks/workstation/freebsd/software/gnome.yml
when: ansible_system == "FreeBSD" when: ansible_system == "FreeBSD"
and internet
- name: Main | Workstation | Fancy Desktop Environments - name: Main | Workstation | Fancy Desktop Environments
block: block:
@@ -149,6 +161,7 @@
- include_tasks: tasks/workstation/linux/software/cinnamon.yml - include_tasks: tasks/workstation/linux/software/cinnamon.yml
- include_tasks: tasks/workstation/linux/software/lxqt.yml - include_tasks: tasks/workstation/linux/software/lxqt.yml
when: ansible_system == "Linux" when: ansible_system == "Linux"
and internet
# TBD: Implement this: and extra_desktops # TBD: Implement this: and extra_desktops
## Software Tasks ## ## Software Tasks ##
@@ -165,12 +178,15 @@
- include_tasks: tasks/workstation/linux/software/brave.yml - include_tasks: tasks/workstation/linux/software/brave.yml
when: ansible_pkg_mgr in ("apt", "dnf", "zypper") and not mobile when: ansible_pkg_mgr in ("apt", "dnf", "zypper") and not mobile
when: ansible_system == "Linux" when: ansible_system == "Linux"
and internet
- include_tasks: tasks/workstation/freebsd/software/packages.yml - include_tasks: tasks/workstation/freebsd/software/packages.yml
when: ansible_system == "FreeBSD" when: ansible_system == "FreeBSD"
and internet
- include_tasks: tasks/workstation/mac-os/software/brew.yml - include_tasks: tasks/workstation/mac-os/software/brew.yml
when: ansible_system == "Darwin" when: ansible_system == "Darwin"
and internet
## Configuration Tasks ## ## Configuration Tasks ##
- name: Main | Workstation Setup | Configuration - name: Main | Workstation Setup | Configuration
@@ -203,6 +219,7 @@
- include_tasks: tasks/workstation/linux/software/flutter.yml - include_tasks: tasks/workstation/linux/software/flutter.yml
- include_tasks: tasks/workstation/linux/software/android.yml - include_tasks: tasks/workstation/linux/software/android.yml
when: ansible_system == "Linux" when: ansible_system == "Linux"
and internet
when: workstation when: workstation
@@ -283,6 +300,7 @@
block: block:
- include_tasks: tasks/general/software/telegraf.yml - include_tasks: tasks/general/software/telegraf.yml
when: internet
- include_tasks: tasks/general/tests/services.yml - include_tasks: tasks/general/tests/services.yml
- include_tasks: tasks/general/tests/lynis.yml - include_tasks: tasks/general/tests/lynis.yml