forked from php/infrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinitServiceAnalytics.yml
More file actions
37 lines (29 loc) · 810 Bytes
/
Copy pathinitServiceAnalytics.yml
File metadata and controls
37 lines (29 loc) · 810 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
# Run this playbook to set up your analytics machine
# ansible-playbook initServiceAnalytics.yml
- hosts:
- analytics
become: yes
become_user: root
gather_facts: true
pre_tasks:
- name: Gather facts for rsync server
setup:
gather_subset:
- default_ipv4
delegate_to: "{{ item }}"
delegate_facts: true
loop: "{{ groups['rsync'] }}"
- name: Install common software and configuration
include_role:
name: install_common_software
- name: Install Apache and common modules
include_role:
name: add_apache_with_modules
- name: Install MariaDB
include_role:
name: install_mariadb
- name: Install Composer
include_role:
name: install_composer
roles:
- role: properties/analytics