pmm_client
ansible-role-pmm-client
This role installs PMM client.
It is part of a family of Ansible roles allowing to setup and configure PMM:
Requirements
Ansible 2.10 or newer.
Supported Platforms
- Debian - 11 (Bullseye)
- Debian - 12 (Bookworm)
- Ubuntu - 22.04 (Jammy Jellyfish)
- Ubuntu - 24.04 (Noble Numbat)
Role Variables
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
pmm_client_server_url | true | https://admin:[email protected]:443 |
string | |
pmm_client_server_insecure_tls | true | false |
bool | |
pmm_client_package_state | true | present |
string | Use latest to upgrade PMM client. |
pmm_client_services | true | [] |
list | Services to configure. See defaults/main.yml . |
Dependencies
Example Playbook
- hosts: all
roles:
- role: ansible-role-pmm-client
pmm_client_server_insecure_tls: true
pmm_client_services:
- type: mysql
name: "service-mysql"
flags: "--username=root --password=root"
- type: mongodb
name: "service-mongodb"
flags: "--port=27017"
Testing
Debian
molecule --base-config molecule/shared/base.yml test --scenario-name debian-11
molecule --base-config molecule/shared/base.yml test --scenario-name debian-12
Ubuntu
molecule --base-config molecule/shared/base.yml test --scenario-name ubuntu-2204
molecule --base-config molecule/shared/base.yml test --scenario-name ubuntu-2404
License
MIT
Author Information
About
Install and configure PMM client.
Install
ansible-galaxy install boutetnico/ansible-role-pmm-client
License
mit
Downloads
407
Owner
System Engineer