From 7de2d8972cc913a00e11b92331546f5b58dd05ce Mon Sep 17 00:00:00 2001 From: Potalej Date: Wed, 9 Oct 2024 16:08:48 -0300 Subject: [PATCH] =?UTF-8?q?Altera=C3=A7=C3=B5es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- defaults/main.yml | 14 +------------- tasks/gui.yml | 10 ++++++++++ tasks/main.yml | 1 + 3 files changed, 12 insertions(+), 13 deletions(-) create mode 100644 tasks/gui.yml diff --git a/defaults/main.yml b/defaults/main.yml index 22b3f51..25169dc 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -2,16 +2,4 @@ # defaults file for local.proaluno proaluno_debian_version: "bookworm" -proaluno_install_desktop_oa: True -proaluno_install_mate: True - -proaluno_update_keys: False -proaluno_max_logon_time: 120 -proaluno_sala: "pdfprinter" -proaluno_realm: "smbdomain.fflch.usp.br" - -proaluno_ntp_servers: - - 143.107.72.180 - - 143.107.72.181 - - 143.107.72.182 - - 143.107.72.183 +proaluno_gui: "xfce" \ No newline at end of file diff --git a/tasks/gui.yml b/tasks/gui.yml new file mode 100644 index 0000000..eb85e26 --- /dev/null +++ b/tasks/gui.yml @@ -0,0 +1,10 @@ +- name: GUI + apt: + name: task-{{proaluno_gui}}-desktop + state: present + +# TODO: trocar para handler +- name: lightdm + service: + name: lightdm + state: restarted \ No newline at end of file diff --git a/tasks/main.yml b/tasks/main.yml index 28c15be..a6d6341 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,6 +1,7 @@ --- - import_tasks: update.yml +- import_tasks: gui.yml #- import_tasks: mate.yml # when: proaluno_install_mate