-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathsite-client.yml
83 lines (82 loc) · 2.32 KB
/
site-client.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
- name: Apply common configuration to all nodes
hosts: all
tasks:
- set_fact: client_install="true"
- name: Apply common configuration to all nodes
hosts: common
roles:
- {role: common-oraclejdk18, when: jdk == 'oraclejdk'}
- {role: common-openjdk18, when: jdk == 'openjdk18'}
- {role: common-mapruser, when: mapr_create_user}
- common-rpcbind
- common-ntp
- common-misc
- common-sysctl
- name: Fetch files from cluster required for client
hosts: mapr-cldb[0]
roles:
- {role: mapr-client-configure-fetch-keys, when: mapr_security != 'none'}
- mapr-client-configure-nativesecurity-fetch
- name: Setup global vars
hosts: all
roles:
- name: Setup global vars
hosts: all
roles:
- mapr-global-vars
- mapr-configure-vars-zk
- mapr-configure-vars-cldb
- name: Install MapR client
hosts: mapr-client
roles:
- mapr-configure-repository
- mapr-client-install
- mapr-configure-env-override
- {role: mapr-client-configure-unsecure, when: mapr_security == 'none'}
- {role: mapr-client-configure-nativesecurity-secure, when: mapr_security != 'none'}
- name: Setup Hive Variables
hosts: all
roles:
- mapr-hive-vars
- name: Install Hive CLI
hosts: mapr-hive-cli
roles:
- mapr-hive-cli-install
- name: Install Kafka
hosts: mapr-kafka
roles:
- mapr-kafka-install
- name: Install Spark on YARN
hosts: mapr-spark-yarn
roles:
- mapr-spark-yarn-install
- name: Install Flume
hosts: mapr-flume
roles:
- mapr-flume-install
- name: Install HBase CLI
hosts: mapr-hbase-cli
roles:
- mapr-hbase-cli-install
- name: Install Pig
hosts: mapr-pig
roles:
- mapr-pig-install
- name: Install NFS loopback
hosts: mapr-nfsloopback
roles:
- mapr-nfsloopback-install
- name: Install mapr-posix-client-basic (FUSE)
hosts: mapr-posix-client-basic
roles:
- mapr-posix-client-basic-install
- {role: mapr-patch-posix-client-basic-install, when: mapr_patch_url is defined and ansible_os_family != 'Debian'}
- name: Install mapr-posix-client-platinum (FUSE)
hosts: mapr-posix-client-platinum
roles:
- mapr-posix-client-platinum-install
- {role: mapr-patch-posix-client-platinum-install, when: mapr_patch_url is defined and ansible_os_family != 'Debian'}
- hosts: 127.0.0.1
connection: local
roles:
- ../roles/mapr-configure-cleanup