forked from ccetsii/desktop-playbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUbuntu22.04.yml
139 lines (124 loc) · 5.29 KB
/
Ubuntu22.04.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
##
## ansible-playbook -i "localhost" --vault-password-file /etc/vault.txt /etc/esit-software/desktop-playbook/local.yml --tag debug
#
#
### a ver:
- hosts: localhost, all
remote_user: root
gather_facts: yes
# onboot -> roles que se ejecutan en el arranque. Puede añadir flags para que se ejecute solo una vez
# si un rol desea que se ejecute solo una vez debe añadir las tareas de flags en la definición del rol
# valorar si el rol se debe ejecutar siempre o solo una vez
# valorar crear un verificador para IT-inventory
roles:
- { role: executed-scripts-flag-directory, tags: ['executed-scripts-flag-directory','onboot'] }
- { role: upgrade-code, tags: ['upgrade-code','onboot'] }
# - { role: limpia-dpkg, tags: ['limpia-dpkg'] }
- { role: grubpassword-u22, tags: ['grubpassword-u22'] }
- { role: docker-rootless, tags: ['docker-rootless'] }
- { role: gedit_packages, tags: ['gedit_packages','onboot'] }
# - { role: volatility3, tags: ['volatility3'] }
#- { role: actualiza-sistema-u22, tags: ['actualiza-sistema-u22','onboot'] }
#- { role: pip-keras-seaborn, tags: ['pip-keras-seaborn','onboot'] }
#- { role: projectlibre, tags: ['projectlibre','onboot'] }
#- { role: install_gcc14, tags: ['install_gcc14','onboot'] }
#- { role: copiar-hosts, tags: ['copiar-hosts'] }
#- { role: pymunk-pygame, tags: ['pymunk-pygame','onboot'] }
#- { role: mazesolver, tags: ['mazesolver','onboot'] }
- { role: modo-examen, tags: ['modo-examen'] }
- { role: vscode, tags: ['vscode','onboot'] }
#- { role: openjdk-21, tags: ['openjdk-21','onboot'] }
#- { role: pip-mediapipe, tags: ['mediapipe','onboot'] }
#- { role: exa, tags: ['exa','onboot'] }
#- { role: tmux, tags: ['tmux','onboot'] }
- { role: udsclient, tags: ['udsclient'] }
- { role: env-neupy, tags: ['env-neupy'] }
- { role: bug-ldap-stic, tags: ['bug-ldap-stic'] }
- { role: wol_servicio, tags: [ 'wol_servicio' ] }
- { role: rutacorta, tags: ['ir','onboot'] }
- { role: mpi, tags: ['mpi'] }
#- { role: cheddar, tags: ['cheddar','onboot'] }
#- { role: copia_hosts-u22, tags: ['hos'] }
- { role: fuzzylogic, tags: ['fuzzylogic'] }
- { role: libpulse, tags: ['lp'] }
- { role: eclipse-u18,
tags: ['e22'],
eclipse_jee_version: 'eclipse-jee-2022-09-R-linux-gtk-x86_64'
}
- { role: python3, tags: ['py'] }
- { role: installsoftware-u2204, tags: ['sd0'] }
- { role: nvm, tags: ['a'] }
- { role: grubpassword-u22, tags: ['grubpassword-u22'] }
# - { role: fuzzylogic, tags: ['fuzzylogic'] }
# - { role: libpulse, tags: ['lp'] }
# - { role: eclipse-u18,
# tags: ['e22'],
# eclipse_jee_version: 'eclipse-jee-2022-09-R-linux-gtk-x86_64'
# }
# - { role: python3, tags: ['py'] }
# - { role: installsoftware-u2204, tags: ['sd0'] }
# - { role: nvm, tags: ['a'] }
# - { role: grubpassword-u22, tags: ['grubpassword-u22'] }
# - { role: fuzzylogic, tags: ['fuzzylogic'] }
# - { role: libpulse, tags: ['lp'] }
# - { role: eclipse-u18,
# tags: ['e22'],
# eclipse_jee_version: 'eclipse-jee-2022-09-R-linux-gtk-x86_64'
# }
# - { role: python3, tags: ['py'] }
# - { role: installsoftware-u2204, tags: ['sd0'] }
# - { role: nvm, tags: ['a'] }
# - { role: clienteoracle, tags: ['co'] }
# - { role: node, tags: ['edu'] }
# - { role: nodepackages,
# tags: ['edu'],
# node_path: /usr/local/nvm/versions/node/v11.15.0
# }
# - ansibleupdate
# - { role: aceleraarranque,
# ubuntu2204: yes
# }
# - { role: eclipse-java-cpp,
# tags: ['eclipse'],
# eclipse_cpp_version: eclipse-cpp-2022-09-R-linux-gtk-x86_64
# }
# - { role: emacs, tags: ['p'] }
# - { role: mazesolver, tags: ['p'] }
# - { role: weka,
# tags: ['weka'],
# ubuntu2204: yes
# }
# - { role: gemas-ruby, tags: ['edu'] }
# - { role: rvm_io.ruby,
# tags: ruby,
# become: yes,
# rvm1_rubies: ['ruby-2.7.6'], # Versiones 2.2.5 y 2.3.1 no instalan en Ubuntu 22.04
# rvm1_install_path: /usr/local/rvm, # Set to system location
# rvm1_install_flags: "--auto-dotfiles --with-openssl-dir={{ rvm1_install_path }}/usr", # Remove --user-install from defaults
# rvm1_user: root, # Need root account to access system location
# ubuntu2204: yes
# }
## Software no instalado en Ubuntu 22.04.
## Se ha considerado obsoleto, que viene de serie o no hace falta.
# - { role: atom, tags: ['atom'] }
# - { role: profile-env-alias-scripts, tags: ['path'] }
# - { role: rutacorta, tags: ['ir'] }
# - { role: bug-eclipse, tags: ['eclipse'] }
# - { role: compendium, tags: ['a'] }
# - { role: neurophstudio, tags: ['a'] }
# - { role: hub, tags: ['edu'] }
# - { role: kgpg, tags: ['aa'] }
# - { role: usuariolocal, tags: ['ul']}
# vars_files:
# - "roles/usuariolocal/vars/local.yml"
tasks:
- group:
name: wireshark
state: present
- name: Update repositories cache and install "wireshark" package
apt:
name: wireshark
update_cache: yes
state: present
#- name: permisos
# command: setcap cap_net_raw, cap_net_admin=eip /usr/bin/dumpcap