From 2a0318f6e40e79716ff1795632eb8e81c3aaf92e Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 25 Jan 2022 14:25:36 +0000 Subject: [PATCH] Only install VSCode in a GUI --- roles/el/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/el/tasks/main.yml b/roles/el/tasks/main.yml index fcec5c0..c112e50 100644 --- a/roles/el/tasks/main.yml +++ b/roles/el/tasks/main.yml @@ -21,6 +21,7 @@ - import_tasks: solokeys.yml - import_tasks: packagekit.yml - import_tasks: vscode.yml + when: gui == true - import_tasks: zram.yml - import_tasks: legacy-openssl.yml when: ansible_distribution_major_version == '9'