-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathplaybook_desktop_setup.yaml
55 lines (45 loc) · 1.23 KB
/
playbook_desktop_setup.yaml
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
---
##############################################################
# Playbook: playbook_kube_install.yml
#
# playbook_kube_install.yml installs the packages and
# configuration files that are required to run TheCombine
# as Docker containers managed by a Kubernetes cluster.
#
##############################################################
- name: Configure hardware for The Combine
hosts: localhost
gather_facts: yes
become: yes
vars_files:
- "vars/config_common.yml"
- "vars/packages.yml"
tasks:
- name: Update packages
apt:
update_cache: yes
upgrade: "yes"
- name: Setup WiFi Access Point
import_role:
name: wifi_ap
when: has_wifi
- name: Enable hardware monitoring
import_role:
name: monitor_hardware
when: include_hw_monitoring
- name: Configure Network Interfaces
import_role:
name: network_config
- name: Install Container Engine
import_role:
name: container_engine
- name: Install Kubernetes
import_role:
name: k8s_install
- name: Install Helm
import_role:
name: helm_install
when: install_helm
- name: Setup Support Tool
import_role:
name: support_tools