Skip to content

Commit

Permalink
reduzinfo playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagogomesverissimo committed Sep 8, 2022
1 parent c05c07c commit a41bb7a
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 2 deletions.
9 changes: 8 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
5 changes: 5 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,10 @@
when: proaluno_update_keys

- import_tasks: home.yml
- import_tasks: presamba.yml






4 changes: 4 additions & 0 deletions tasks/pacotes_debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@
- unrar
- kolourpaint
- pdftk

- name: cmprescott.chrome
include_role:
name: cmprescott.chrome
14 changes: 14 additions & 0 deletions tasks/presamba.yml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion tasks/qgis.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit a41bb7a

Please sign in to comment.