-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpatrim.yml
58 lines (52 loc) · 1.6 KB
/
patrim.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
- name: Computador da Ana Martens
hosts: sj-lin-patrim-710789.maquinas.sj.ifsc.edu.br
roles:
- ingressa_ldap_sem_cups_client
- role: instala_impressora_cups
install: 0
argox: 1
compras: 1
cgp: 1
financeiro: 1
tasks:
- name: Instalar o software para criar as etiquetas Linux Debian
ansible.builtin.apt:
name:
- glabels
- name: Notebook emprestado
hosts: sj-lin-patrim-cgwhd33.maquinas.sj.ifsc.edu.br
roles:
- role: grub
tipo: grub_soh_lin
- role: instala_impressora_cups
install: 0
argox: 1
- remove_ldap
tasks:
- name: Pacote necessario para ativar wifi
ansible.builtin.apt:
pkg:
- firmware-iwlwifi
- name: Blacklist the pcspkr driver module
community.general.kernel_blacklist:
name: pcspkr
state: present
when: ansible_os_family == 'Debian'
- name: Ativa lista de usuários no lightdm
ansible.builtin.replace:
path: /etc/lightdm/lightdm.conf
backup: true
regexp: '#greeter-hide-users=false'
replace: 'greeter-hide-users=false'
when: ansible_os_family == 'Debian'
tags: lightdm
- name: Cria usuário local para Ana Martens
ansible.builtin.user:
name: ana.martens
comment: Ana Elizabeth Martens
tags: cria_usuario
- name: Define a senha do usuário ana.martens para "aluno"
ansible.builtin.user:
name: ana.martens
password: $6$je40HdiVkofL6RRQ$84a8GaFd4l1o.Hr1x8QU7f/jr58.zE2LxyvXwomVDo4Vc0vG4nGyW.YWwfGMO5KYeRXE.YLyhu9joPR.CJcEJ/
tags: cria_usuario