From 6f84e794c74b2918a52e224146a0a5f9c86d1e0e Mon Sep 17 00:00:00 2001 From: NaeiKinDus Date: Fri, 27 Dec 2024 00:00:00 +0000 Subject: [PATCH] feat(workstation): moved X11 configuration behind a feature flag --- .../nullified/infrastructure/roles/workstation/defaults/main.yml | 1 + .../infrastructure/roles/workstation/tasks/window_manager.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/collections/ansible_collections/nullified/infrastructure/roles/workstation/defaults/main.yml b/collections/ansible_collections/nullified/infrastructure/roles/workstation/defaults/main.yml index 3d372ef..45a434e 100644 --- a/collections/ansible_collections/nullified/infrastructure/roles/workstation/defaults/main.yml +++ b/collections/ansible_collections/nullified/infrastructure/roles/workstation/defaults/main.yml @@ -1,3 +1,4 @@ --- workstation_user_account: "{{ custom_base_user_account }}" workstation_github_token: "{{ custom_github_token | default('') }}" +workstation_setup_xorg_enabled: false diff --git a/collections/ansible_collections/nullified/infrastructure/roles/workstation/tasks/window_manager.yml b/collections/ansible_collections/nullified/infrastructure/roles/workstation/tasks/window_manager.yml index f322ef5..6018015 100644 --- a/collections/ansible_collections/nullified/infrastructure/roles/workstation/tasks/window_manager.yml +++ b/collections/ansible_collections/nullified/infrastructure/roles/workstation/tasks/window_manager.yml @@ -142,6 +142,7 @@ - name: '[home] copy X related configuration' become: true + when: workstation_setup_xorg_enabled is truthy block: - name: '[x11] xorg.conf' ansible.builtin.copy: