-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathsite.yml
More file actions
38 lines (33 loc) · 737 Bytes
/
Copy pathsite.yml
File metadata and controls
38 lines (33 loc) · 737 Bytes
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
---
- name: Needed for accelerated mode
hosts: all
sudo: yes
roles:
- { role: geerlingguy.repo-epel }
tasks:
- yum: name=python-keyczar state=latest
- service: name=iptables state=stopped enabled=no
- lineinfile: state=present create=yes dest=/etc/sudoers.d/888-dont-requiretty line="Defaults !requiretty" backup=yes
- name: Apply common configuration to all target nodes
hosts: all
accelerate: True
sudo: yes
roles:
- common
- name: Ambari server
hosts: ambari
accelerate: True
sudo: yes
roles:
- ambari-server
- name: Ambari agent
hosts: all
accelerate: True
sudo: yes
roles:
- ambari-agent
- name: run the blueprint
hosts: ambari
sudo: yes
roles:
- blueprint