-
Notifications
You must be signed in to change notification settings - Fork 10
/
main.yml
134 lines (110 loc) · 2.97 KB
/
main.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
---
# General
# Enable the client installation. Set to false to uninstall the PMM client.
# Type: Bool
pmm_client_install: true
# Enable the client; if set to `false` there will be just the installation.
# Type: Bool
pmm_client_enabled: true
# Define the PMM Client version
# Type: Int
pmm_client_version: 1.17.1
pmm_client_version_revision: 1
# PMM Client name:
# Type: Str
pmm_client_name: "{{ ansible_hostname }}"
# Define service names (no need to change those values):
# Type: Dict
pmm_service_names:
linux:metrics: pmm-linux-metrics-42000
mysql:queries: pmm-mysql-queries-0
mysql:metrics: pmm-mysql-metrics-42002
mongodb:queries: pmm-mongodb-queries-0
mongodb:metrics: pmm-mongodb-metrics-42003
proxysql:metrics: pmm-proxysql-metrics-42004
postgresql:metrics: pmm-postgresql-metrics-42005
# Config file:
# Type: Str
pmm_client_config_file: /usr/local/percona/pmm-client/pmm.yml
# Repository
# Use the official Percona repository:
# Type: Bool
pmm_client_use_official_repo: true
# Define the repository version package
# Type: Str
pmm_client_percona_release: latest
# Server
# IP address and port of the PMM Server
# Type: Str
pmm_client_server_host: localhost
# Type: Int
pmm_client_server_port: 443
# If the PMM Server is using basic auth:
# Type: Bool
pmm_client_server_basic_auth: true
# Type: Str
pmm_client_server_basic_auth_username: admin
pmm_client_server_basic_auth_password: admin
# If you have used a self signed SSL certificate while configuring your PMM Server
# set ca_certificate to false. Set it to true if you have have a certificate signed
# by an CA.
# Type: Bool
pmm_client_server_use_ssl: true
pmm_client_server_use_ssl_ca_certificate: false
# Force to set client name on initial setup
# Type: Bool
pmm_client_force_setup: false
# Services
# Service list:
# - linux:metrics
# - mongodb
# - mongodb:metrics
# - mongodb:queries
# - mysql
# - mysql:metrics
# - mysql:queries
# - postgresql:metrics
# Define services to be added or removed (eg: linux:metrics, mysql, mysql:metrics,
# mysql:queries, mongodb, mongodb:metrics, mongodb:queries etc.).
# Type: List
# pmm_client_add_services:
# - linux:metrics
# - mysql:metrics
# - mongodb:metrics
# - postgresql:metrics
# pmm_client_remove_services:
# - mysql:queries
pmm_client_add_services: []
pmm_client_remove_services: []
# Define services to be started or stopped
# Type: List
# pmm_client_start_services:
# - linux:metrics
# - mysql:metrics
# - mongodb:metrics
# - postgresql:metrics
# pmm_client_stop_services:
# - mysql:queries
pmm_client_start_services: []
pmm_client_stop_services: []
# DB access
# Define credentials for MySQL or MongoDB DB connections:
# Format:
# Type: Dict
# pmm_client_db:
# mysql:
# host: localhost
# port: 3306
# username: root
# password: toor
# mongodb:
# host: localhost
# port: 27017
# username: root
# password: toor
# postgresql:
# host: localhost
# port: 5432
# username: postgres
# password: postgres
pmm_client_db: {}