mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 11:50:18 +01:00
28 lines
482 B
YAML
28 lines
482 B
YAML
---
|
|
# The main playbook to deploy the site
|
|
|
|
- hosts: hadoop_all
|
|
roles:
|
|
- common
|
|
|
|
- hosts: zookeeper_servers
|
|
roles:
|
|
- { role: zookeeper_servers, when: ha_enabled }
|
|
|
|
- hosts: qjournal_servers
|
|
roles:
|
|
- { role: qjournal_servers, when: ha_enabled }
|
|
|
|
- hosts: hadoop_master_primary
|
|
roles:
|
|
- { role: hadoop_primary }
|
|
|
|
- hosts: hadoop_master_secondary
|
|
roles:
|
|
- { role: hadoop_secondary, when: ha_enabled }
|
|
|
|
- hosts: hadoop_slaves
|
|
roles:
|
|
- { role: hadoop_slaves }
|
|
|
|
|