From a41bb7a9416370eca4b562cd3193ddbed8173b73 Mon Sep 17 00:00:00 2001 From: Thiago Gomes Verissimo Date: Thu, 8 Sep 2022 15:55:58 -0300 Subject: [PATCH] reduzinfo playbook --- defaults/main.yml | 9 ++++++++- tasks/main.yml | 5 +++++ tasks/pacotes_debian.yml | 4 ++++ tasks/presamba.yml | 14 ++++++++++++++ tasks/qgis.yml | 2 +- 5 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 tasks/presamba.yml diff --git a/defaults/main.yml b/defaults/main.yml index 529ae12..e2cc442 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -11,4 +11,11 @@ proaluno_update_keys: False proaluno_max_logon_time: 120 proaluno_cups_server: "cups.fflch.usp.br:631" proaluno_sala: "pdfprinter" -proaluno_printers: [] + +proaluno_ntp_servers: + - 143.107.72.180 + - 143.107.72.181 + - 143.107.72.182 + - 143.107.72.183 + +proaluno_printers: [] \ No newline at end of file diff --git a/tasks/main.yml b/tasks/main.yml index f624676..34ec675 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -35,5 +35,10 @@ when: proaluno_update_keys - import_tasks: home.yml +- import_tasks: presamba.yml + + + + diff --git a/tasks/pacotes_debian.yml b/tasks/pacotes_debian.yml index d0bc7e7..4be00a0 100644 --- a/tasks/pacotes_debian.yml +++ b/tasks/pacotes_debian.yml @@ -39,3 +39,7 @@ - unrar - kolourpaint - pdftk + +- name: cmprescott.chrome + include_role: + name: cmprescott.chrome diff --git a/tasks/presamba.yml b/tasks/presamba.yml new file mode 100644 index 0000000..8f6df9d --- /dev/null +++ b/tasks/presamba.yml @@ -0,0 +1,14 @@ +- name: geerlingguy.ntp + include_role: + name: geerlingguy.ntp + vars: + ntp_timezone: 'America/Sao_Paulo' + ntp_servers: "{{ proaluno_ntp_servers }}" + +- name: Configura resolv.conf para consultar DNSs no prĂ³prio samba + include_role: + name: blackstar257.resolv + vars: + resolv_conf_nameservers: "{{ proaluno_ntp_servers }}" + resolv_conf_search_domains: + - "smbdomain.fflch.usp.br" \ No newline at end of file diff --git a/tasks/qgis.yml b/tasks/qgis.yml index f082378..c46c5ef 100644 --- a/tasks/qgis.yml +++ b/tasks/qgis.yml @@ -1,6 +1,6 @@ # Add an Apt signing key, uses whichever key is at the URL - apt_key: - url: "https://qgis.org/downloads/qgis-2021.gpg.key" + url: "https://qgis.org/downloads/qgis-2022.gpg.key" state: present - apt_repository: