-
Notifications
You must be signed in to change notification settings - Fork 7
/
linux.yml
49 lines (42 loc) · 1.18 KB
/
linux.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
---
- name: Linux
hosts: all
become: yes
become_method: sudo
vars_files:
- vars/main.yml
vars_prompt:
- name: 'linux_desktop_selection'
prompt: "\nChoose the Desktop you want to install [ 1/2/3/4] \n\n
0: Don't install any Desktop\n
1: GNOME \n
2: KDE \n
3: Xfce\n
4: Mate\n"
private: no
default: 1
- name: 'linux_webgui_selection'
prompt: "\nChoose the Web GUI you want to install [ 1/2/3/4] \n\n
0: Don't install any Web GUI\n
1: cockpit \n"
private: no
default: 0
vars:
linux_desktop_select:
'0': ''
'1': 'gnome'
'2': 'kde'
'3': 'xfce'
'4': 'mate'
linux_webgui_select:
'0': ''
'1': 'cockpit'
os_desktop: "{{linux_desktop_select[linux_desktop_selection]}}"
common_install_tools:
- "{{linux_webgui_select[linux_webgui_selection]}}"
roles:
- { role: role_common, tags: "role_common"}
- { role: role_cloud, tags: "role_cloud"}
- { role: role_os, tags: "role_os"}
- { role: role_preend, tags: "role_preend"}
- { role: role_end, tags: "role_end"}